com.ibm.wsspi.webcontainer.webapp

Interface WebAppConfig


  1. public interface WebAppConfig

Method Summary

Modifier and Type Method and Description
  1. void
addClassesToScan(java.util.List<java.lang.Class<?>> list)
  1. void
addListener(java.lang.String listenerClass)
Adds a listener to be processed
  1. void
addServletInfo(java.lang.String name,IServletConfig info)
  1. void
addServletMappedFilterInfo(IFilterMapping fmInfo)
  1. void
addServletMapping(java.lang.String servletName,java.lang.String urlPattern)
Adds a new urlPattern for the specified servlet to the list of mappings
  1. void
addUriMappedFilterInfo(IFilterMapping fmInfo)
  1. java.lang.String
getApplicationName()
Returns the name of the application this config is associated with
  1. int
getAppStartupWeight()
Returns the startup weight specified for the enterprise application
  1. java.lang.String
getArdDispatchType()
  1. java.util.List<java.lang.Class<?>>
getClassesToScan()
  1. java.lang.String
getContextRoot()
Returns the context root for the application which this web module is a part of
  1. java.util.Iterator
getFilterInfos()
Returns an iterator containing all the FilterConfig instances which represent all the targets that are present and loaded (not necessarily initialized) in this web module
  1. java.util.List<IFilterMapping>
getFilterMappings()
  1. java.util.Map
getJspAttributes()
Returns the JSP Attributes for the web module that this config is associated with
  1. int
getLastIndexBeforeDeclaredFilters()
  1. java.util.List<java.lang.String>
getLibBinPathList()
  1. java.util.List
getListeners()
Returns the listeners.
  1. com.ibm.wsspi.webcontainer.metadata.WebModuleMetaData
getMetaData()
Returns the Module metadata associated with this config
  1. java.lang.String
getModuleName()
Returns the name of the module that this config is associated with
  1. int
getModuleStartupWeight()
Returns the startup weight specified for the web module
  1. IServletConfig
getServletInfo(java.lang.String servletName)
  1. java.util.Iterator<IServletConfig>
getServletInfos()
Returns an iterator containing all the ServletConfig instances which represent all the targets that are present and loaded (not necessarily initialized) in this web module
  1. java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getServletMappings()
Returns a map whose keys are the servlet names and whose values are each servlet's servlet mappings list
  1. java.util.Iterator
getServletNames()
Returns an iterator containing all the ServletNames
  1. java.util.List
getTagLibs()
Returns a list of all the TagLib definitions for this web module
  1. java.util.List
getVirtualHostList()
Returns the list of the virtual host mappings the web module has been associated with.
  1. java.lang.String
getVirtualHostName()
Returns the name of the virtual host that the web module has been associated with.
  1. boolean
isArdEnabled()
  1. boolean
isAutoResponseEncoding()
Determines whether or not this web module has enabled IBM custom extension autoResponseEncoding.
  1. boolean
isDistributable()
Returns whether the app is distributable.
  1. boolean
isErrorPagePresent()
  1. boolean
isJCDIEnabled()
  1. boolean
isMetadataComplete()
  1. boolean
isServlet2_4()
Determines whether or not this web module is compliant with the Servlet 2.4 specification
  1. boolean
isServlet2_4OrHigher()
Determines whether or not this web module is compliant with the Servlet 2.4 specification or later
  1. boolean
isServlet2_5()
Determines whether or not this web module is compliant with the Servlet 2.5 specification
  1. boolean
isSystemApp()
  1. void
setArdDispatchType(java.lang.String ardDispatchType)
  1. void
setJCDIEnabled(boolean b)
  1. void
setLastIndexBeforeDeclaredFilters(int lastIndexBeforeDeclaredFilters)
  1. void
setMetadataComplete(boolean b)

Method Detail

getJspAttributes

  1. java.util.Map getJspAttributes( )
Returns the JSP Attributes for the web module that this config is associated with
Returns:

isServlet2_4

  1. boolean isServlet2_4()
Determines whether or not this web module is compliant with the Servlet 2.4 specification
Returns:

isServlet2_5

  1. boolean isServlet2_5()
Determines whether or not this web module is compliant with the Servlet 2.5 specification
Returns:

isServlet2_4OrHigher

  1. boolean isServlet2_4OrHigher()
Determines whether or not this web module is compliant with the Servlet 2.4 specification or later
Returns:

getModuleName

  1. java.lang.String getModuleName( )
Returns the name of the module that this config is associated with
Returns:

getApplicationName

  1. java.lang.String getApplicationName( )
Returns the name of the application this config is associated with
Returns:
String

getServletInfos

  1. java.util.Iterator<IServletConfig> getServletInfos( )
Returns an iterator containing all the ServletConfig instances which represent all the targets that are present and loaded (not necessarily initialized) in this web module
Returns:

getServletMappings

  1. java.util.Map<java.lang.String,java.util.List<java.lang.String>> getServletMappings( )
Returns a map whose keys are the servlet names and whose values are each servlet's servlet mappings list
Returns:

getServletNames

  1. java.util.Iterator getServletNames( )
Returns an iterator containing all the ServletNames
Returns:

getTagLibs

  1. java.util.List getTagLibs()
Returns a list of all the TagLib definitions for this web module
Returns:

getContextRoot

  1. java.lang.String getContextRoot( )
Returns the context root for the application which this web module is a part of
Returns:

getMetaData

  1. com.ibm.wsspi.webcontainer.metadata.WebModuleMetaData getMetaData( )
Returns the Module metadata associated with this config
Returns:

isAutoResponseEncoding

  1. boolean isAutoResponseEncoding( )
Determines whether or not this web module has enabled IBM custom extension autoResponseEncoding.
Returns:

getFilterInfos

  1. java.util.Iterator getFilterInfos( )
Returns an iterator containing all the FilterConfig instances which represent all the targets that are present and loaded (not necessarily initialized) in this web module
Returns:

getLastIndexBeforeDeclaredFilters

  1. int getLastIndexBeforeDeclaredFilters( )

setLastIndexBeforeDeclaredFilters

  1. void setLastIndexBeforeDeclaredFilters( int lastIndexBeforeDeclaredFilters)

getFilterMappings

  1. java.util.List<IFilterMapping> getFilterMappings( )

getVirtualHostList

  1. java.util.List getVirtualHostList( )
Returns the list of the virtual host mappings the web module has been associated with.
Returns:

getVirtualHostName

  1. java.lang.String getVirtualHostName( )
Returns the name of the virtual host that the web module has been associated with.
Returns:

getAppStartupWeight

  1. int getAppStartupWeight()
Returns the startup weight specified for the enterprise application
Returns:
int

getModuleStartupWeight

  1. int getModuleStartupWeight()
Returns the startup weight specified for the web module
Returns:
int

isDistributable

  1. boolean isDistributable()
Returns whether the app is distributable. Can be used to indicate the need for replication of session data.
Returns:
boolean

isSystemApp

  1. boolean isSystemApp()

getServletInfo

  1. IServletConfig getServletInfo(java.lang.String servletName)

addServletInfo

  1. void addServletInfo(java.lang.String name,
  2. IServletConfig info)

addServletMapping

  1. void addServletMapping(java.lang.String servletName,
  2. java.lang.String urlPattern)
Adds a new urlPattern for the specified servlet to the list of mappings

isArdEnabled

  1. boolean isArdEnabled()

setArdDispatchType

  1. void setArdDispatchType(java.lang.String ardDispatchType)

getArdDispatchType

  1. java.lang.String getArdDispatchType( )

setMetadataComplete

  1. void setMetadataComplete(boolean b)

isMetadataComplete

  1. boolean isMetadataComplete()

addClassesToScan

  1. void addClassesToScan(java.util.List<java.lang.Class<?>> list)

getClassesToScan

  1. java.util.List<java.lang.Class<?>> getClassesToScan( )

addUriMappedFilterInfo

  1. void addUriMappedFilterInfo(IFilterMapping fmInfo)

addServletMappedFilterInfo

  1. void addServletMappedFilterInfo( IFilterMapping fmInfo)

getListeners

  1. java.util.List getListeners()
Returns the listeners.
Returns:
List

addListener

  1. void addListener(java.lang.String listenerClass)
Adds a listener to be processed
Parameters:
listenerClass - the name of the listener class to add

getLibBinPathList

  1. java.util.List<java.lang.String> getLibBinPathList( )

setJCDIEnabled

  1. void setJCDIEnabled(boolean b)

isJCDIEnabled

  1. boolean isJCDIEnabled()

isErrorPagePresent

  1. boolean isErrorPagePresent()