Interface WebAppConfig
public interface WebAppConfig
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClassesToScan
(List<Class<?>> list) void
addListener
(String listenerClass) Adds a listener to be processedvoid
addServletInfo
(String name, IServletConfig info) void
void
addServletMapping
(String servletName, String urlPattern) Adds a new urlPattern for the specified servlet to the list of mappingsvoid
addUriMappedFilterInfo
(IFilterMapping fmInfo) Returns the name of the application this config is associated withint
Returns 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 withint
Returns the listeners.Returns the name of the module that this config is associated withint
Returns 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.boolean
boolean
Determines whether or not this web module has enabled IBM custom extension autoResponseEncoding.boolean
Returns whether the app is distributable.boolean
boolean
boolean
boolean
Determines whether or not this web module is compliant with the Servlet 2.4 specificationboolean
Determines whether or not this web module is compliant with the Servlet 2.4 specification or laterboolean
Determines whether or not this web module is compliant with the Servlet 2.5 specificationboolean
void
setArdDispatchType
(String ardDispatchType) void
setJCDIEnabled
(boolean b) void
setLastIndexBeforeDeclaredFilters
(int lastIndexBeforeDeclaredFilters) void
setMetadataComplete
(boolean b)
-
Method Details
-
getJspAttributes
Map getJspAttributes()Returns the JSP Attributes for the web module that this config is associated with- Returns:
-
isServlet2_4
boolean isServlet2_4()Determines whether or not this web module is compliant with the Servlet 2.4 specification- Returns:
-
isServlet2_5
boolean isServlet2_5()Determines whether or not this web module is compliant with the Servlet 2.5 specification- Returns:
-
isServlet2_4OrHigher
boolean isServlet2_4OrHigher()Determines whether or not this web module is compliant with the Servlet 2.4 specification or later- Returns:
-
getModuleName
String getModuleName()Returns the name of the module that this config is associated with- Returns:
-
getApplicationName
String getApplicationName()Returns the name of the application this config is associated with- Returns:
- String
-
getServletInfos
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
Returns a map whose keys are the servlet names and whose values are each servlet's servlet mappings list- Returns:
-
getServletNames
Iterator getServletNames()Returns an iterator containing all the ServletNames- Returns:
-
getTagLibs
List getTagLibs()Returns a list of all the TagLib definitions for this web module- Returns:
-
getContextRoot
String getContextRoot()Returns the context root for the application which this web module is a part of- Returns:
-
isAutoResponseEncoding
boolean isAutoResponseEncoding()Determines whether or not this web module has enabled IBM custom extension autoResponseEncoding.- Returns:
-
getFilterInfos
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
int getLastIndexBeforeDeclaredFilters() -
setLastIndexBeforeDeclaredFilters
void setLastIndexBeforeDeclaredFilters(int lastIndexBeforeDeclaredFilters) -
getFilterMappings
List<IFilterMapping> getFilterMappings() -
getVirtualHostList
List getVirtualHostList()Returns the list of the virtual host mappings the web module has been associated with.- Returns:
-
getVirtualHostName
String getVirtualHostName()Returns the name of the virtual host that the web module has been associated with.- Returns:
-
getAppStartupWeight
int getAppStartupWeight()Returns the startup weight specified for the enterprise application- Returns:
- int
-
getModuleStartupWeight
int getModuleStartupWeight()Returns the startup weight specified for the web module- Returns:
- int
-
isDistributable
boolean isDistributable()Returns whether the app is distributable. Can be used to indicate the need for replication of session data.- Returns:
- boolean
-
isSystemApp
boolean isSystemApp() -
getServletInfo
-
addServletInfo
-
addServletMapping
Adds a new urlPattern for the specified servlet to the list of mappings -
isArdEnabled
boolean isArdEnabled() -
setArdDispatchType
-
getArdDispatchType
String getArdDispatchType() -
setMetadataComplete
void setMetadataComplete(boolean b) -
isMetadataComplete
boolean isMetadataComplete() -
addClassesToScan
-
getClassesToScan
-
addUriMappedFilterInfo
-
addServletMappedFilterInfo
-
getListeners
List getListeners()Returns the listeners.- Returns:
- List
-
addListener
Adds a listener to be processed- Parameters:
listenerClass
- the name of the listener class to add
-
getLibBinPathList
-
setJCDIEnabled
void setJCDIEnabled(boolean b) -
isJCDIEnabled
boolean isJCDIEnabled() -
isErrorPagePresent
boolean isErrorPagePresent()
-