Interface WebAppConfig
public interface WebAppConfig
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddClassesToScan(List<Class<?>> list) voidaddListener(String listenerClass) Adds a listener to be processedvoidaddServletInfo(String name, IServletConfig info) voidvoidaddServletMapping(String servletName, String urlPattern) Adds a new urlPattern for the specified servlet to the list of mappingsvoidaddUriMappedFilterInfo(IFilterMapping fmInfo) Returns the name of the application this config is associated withintReturns the startup weight specified for the enterprise applicationReturns the context root for the application which this web module is a part ofReturns an iterator containing all the FilterConfig instances which represent all the targets that are present and loaded (not necessarily initialized) in this web moduleReturns the JSP Attributes for the web module that this config is associated withintReturns the listeners.Returns the name of the module that this config is associated withintReturns the startup weight specified for the web modulegetServletInfo(String servletName) Returns an iterator containing all the ServletConfig instances which represent all the targets that are present and loaded (not necessarily initialized) in this web moduleReturns a map whose keys are the servlet names and whose values are each servlet's servlet mappings listReturns an iterator containing all the ServletNamesReturns a list of all the TagLib definitions for this web moduleReturns the list of the virtual host mappings the web module has been associated with.Returns the name of the virtual host that the web module has been associated with.booleanbooleanDetermines whether or not this web module has enabled IBM custom extension autoResponseEncoding.booleanReturns whether the app is distributable.booleanbooleanbooleanbooleanDetermines whether or not this web module is compliant with the Servlet 2.4 specificationbooleanDetermines whether or not this web module is compliant with the Servlet 2.4 specification or laterbooleanDetermines whether or not this web module is compliant with the Servlet 2.5 specificationbooleanvoidsetArdDispatchType(String ardDispatchType) voidsetJCDIEnabled(boolean b) voidsetLastIndexBeforeDeclaredFilters(int lastIndexBeforeDeclaredFilters) voidsetMetadataComplete(boolean b) 
- 
Method Details- 
getJspAttributesMap getJspAttributes()Returns the JSP Attributes for the web module that this config is associated with- Returns:
 
- 
isServlet2_4boolean isServlet2_4()Determines whether or not this web module is compliant with the Servlet 2.4 specification- Returns:
 
- 
isServlet2_5boolean isServlet2_5()Determines whether or not this web module is compliant with the Servlet 2.5 specification- Returns:
 
- 
isServlet2_4OrHigherboolean isServlet2_4OrHigher()Determines whether or not this web module is compliant with the Servlet 2.4 specification or later- Returns:
 
- 
getModuleNameString getModuleName()Returns the name of the module that this config is associated with- Returns:
 
- 
getApplicationNameString getApplicationName()Returns the name of the application this config is associated with- Returns:
- String
 
- 
getServletInfosIterator<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:
 
- 
getServletMappingsReturns a map whose keys are the servlet names and whose values are each servlet's servlet mappings list- Returns:
 
- 
getServletNamesIterator getServletNames()Returns an iterator containing all the ServletNames- Returns:
 
- 
getTagLibsList getTagLibs()Returns a list of all the TagLib definitions for this web module- Returns:
 
- 
getContextRootString getContextRoot()Returns the context root for the application which this web module is a part of- Returns:
 
- 
isAutoResponseEncodingboolean isAutoResponseEncoding()Determines whether or not this web module has enabled IBM custom extension autoResponseEncoding.- Returns:
 
- 
getFilterInfosIterator 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:
 
- 
getLastIndexBeforeDeclaredFiltersint getLastIndexBeforeDeclaredFilters()
- 
setLastIndexBeforeDeclaredFiltersvoid setLastIndexBeforeDeclaredFilters(int lastIndexBeforeDeclaredFilters) 
- 
getFilterMappingsList<IFilterMapping> getFilterMappings()
- 
getVirtualHostListList getVirtualHostList()Returns the list of the virtual host mappings the web module has been associated with.- Returns:
 
- 
getVirtualHostNameString getVirtualHostName()Returns the name of the virtual host that the web module has been associated with.- Returns:
 
- 
getAppStartupWeightint getAppStartupWeight()Returns the startup weight specified for the enterprise application- Returns:
- int
 
- 
getModuleStartupWeightint getModuleStartupWeight()Returns the startup weight specified for the web module- Returns:
- int
 
- 
isDistributableboolean isDistributable()Returns whether the app is distributable. Can be used to indicate the need for replication of session data.- Returns:
- boolean
 
- 
isSystemAppboolean isSystemApp()
- 
getServletInfo
- 
addServletInfo
- 
addServletMappingAdds a new urlPattern for the specified servlet to the list of mappings
- 
isArdEnabledboolean isArdEnabled()
- 
setArdDispatchType
- 
getArdDispatchTypeString getArdDispatchType()
- 
setMetadataCompletevoid setMetadataComplete(boolean b) 
- 
isMetadataCompleteboolean isMetadataComplete()
- 
addClassesToScan
- 
getClassesToScan
- 
addUriMappedFilterInfo
- 
addServletMappedFilterInfo
- 
getListenersList getListeners()Returns the listeners.- Returns:
- List
 
- 
addListenerAdds a listener to be processed- Parameters:
- listenerClass- the name of the listener class to add
 
- 
getLibBinPathList
- 
setJCDIEnabledvoid setJCDIEnabled(boolean b) 
- 
isJCDIEnabledboolean isJCDIEnabled()
- 
isErrorPagePresentboolean isErrorPagePresent()
 
-