public class WebApp extends java.lang.Object implements WebCommon, Lifecycle, NamedModule
Java class for web-appType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="web-appType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="module-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}web-commonType"/>
<element name="absolute-ordering" type="{http://java.sun.com/xml/ns/javaee}absoluteOrderingType"/>
</choice>
<attGroup ref="{http://java.sun.com/xml/ns/javaee}web-common-attributes"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AbsoluteOrdering |
absoluteOrdering |
protected java.util.List<ParamValue> |
contextParam |
protected KeyedCollection<java.lang.String,DataSource> |
dataSource |
protected java.lang.String |
defaultContextPath |
protected TextMap |
description |
protected TextMap |
displayName |
protected java.util.List<Empty> |
distributable |
protected KeyedCollection<java.lang.String,EjbLocalRef> |
ejbLocalRef |
protected KeyedCollection<java.lang.String,EjbRef> |
ejbRef |
protected KeyedCollection<java.lang.String,EnvEntry> |
envEntry |
protected java.util.List<ErrorPage> |
errorPage |
protected java.util.List<Filter> |
filter |
protected java.util.List<FilterMapping> |
filterMapping |
protected LocalCollection<Icon> |
icon |
protected java.lang.String |
id |
protected KeyedCollection<java.lang.String,JMSConnectionFactory> |
jmsConnectionFactories |
protected KeyedCollection<java.lang.String,JMSDestination> |
jmsDestinations |
protected java.util.List<JspConfig> |
jspConfig |
protected java.util.List<Listener> |
listener |
protected java.util.List<LocaleEncodingMappingList> |
localeEncodingMappingList |
protected java.util.List<LoginConfig> |
loginConfig |
protected java.util.List<MessageDestination> |
messageDestination |
protected KeyedCollection<java.lang.String,MessageDestinationRef> |
messageDestinationRef |
protected java.lang.Boolean |
metadataComplete |
protected java.util.List<MimeMapping> |
mimeMapping |
protected java.lang.String |
moduleName |
protected KeyedCollection<java.lang.String,PersistenceContextRef> |
persistenceContextRef |
protected KeyedCollection<java.lang.String,PersistenceUnitRef> |
persistenceUnitRef |
protected java.util.List<LifecycleCallback> |
postConstruct |
protected java.util.List<LifecycleCallback> |
preDestroy |
protected KeyedCollection<java.lang.String,ResourceEnvRef> |
resourceEnvRef |
protected KeyedCollection<java.lang.String,ResourceRef> |
resourceRef |
protected java.util.List<SecurityConstraint> |
securityConstraint |
protected java.util.List<SecurityRole> |
securityRole |
protected KeyedCollection<java.lang.String,ServiceRef> |
serviceRef |
protected java.util.List<Servlet> |
servlet |
protected java.util.List<ServletMapping> |
servletMapping |
protected java.util.List<SessionConfig> |
sessionConfig |
protected java.lang.String |
version |
protected java.util.List<WelcomeFileList> |
welcomeFileList |
| Constructor and Description |
|---|
WebApp() |
| Modifier and Type | Method and Description |
|---|---|
WebApp |
addFilter(java.lang.String name,
java.lang.String clazz,
java.lang.String... mappings) |
WebApp |
addFilterInitParam(java.lang.String filterName,
java.lang.String name,
java.lang.String value) |
WebApp |
addInitParam(java.lang.String servletName,
java.lang.String name,
java.lang.String value) |
WebApp |
addListener(java.lang.String classname) |
void |
addPostConstruct(java.lang.String method) |
void |
addPreDestroy(java.lang.String method) |
WebApp |
addServlet(java.lang.String name,
java.lang.String clazz,
java.lang.String... mappings) |
WebApp |
addServletMapping(java.lang.String servletName,
java.lang.String mapping) |
java.util.Map<java.lang.String,java.lang.String> |
contextParamsAsMap() |
WebApp |
contextRoot(java.lang.String root) |
WebApp |
defaultContextPath(java.lang.String path) |
AbsoluteOrdering |
getAbsoluteOrdering() |
java.util.List<ParamValue> |
getContextParam() |
java.lang.String |
getContextRoot() |
java.util.Collection<DataSource> |
getDataSource() |
java.util.Map<java.lang.String,DataSource> |
getDataSourceMap() |
java.lang.String |
getDefaultContextPath() |
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getDisplayName() |
Text[] |
getDisplayNames() |
java.util.List<Empty> |
getDistributable() |
java.util.Collection<EjbLocalRef> |
getEjbLocalRef() |
java.util.Map<java.lang.String,EjbLocalRef> |
getEjbLocalRefMap() |
java.util.Collection<EjbRef> |
getEjbRef() |
java.util.Map<java.lang.String,EjbRef> |
getEjbRefMap() |
java.util.Collection<EnvEntry> |
getEnvEntry() |
java.util.Map<java.lang.String,EnvEntry> |
getEnvEntryMap() |
java.util.List<ErrorPage> |
getErrorPage() |
java.util.List<Filter> |
getFilter() |
java.util.List<FilterMapping> |
getFilterMapping() |
java.util.List<java.lang.String> |
getFilterMappings(java.lang.String filterName) |
Icon |
getIcon() |
java.util.Map<java.lang.String,Icon> |
getIconMap() |
java.util.Collection<Icon> |
getIcons() |
java.lang.String |
getId() |
java.util.Collection<JMSConnectionFactory> |
getJMSConnectionFactories() |
java.util.Map<java.lang.String,JMSConnectionFactory> |
getJMSConnectionFactoriesMap() |
java.util.Collection<JMSConnectionFactory> |
getJMSConnectionFactory() |
java.util.Map<java.lang.String,JMSConnectionFactory> |
getJMSConnectionFactoryMap() |
java.util.Collection<JMSDestination> |
getJMSDestination() |
java.util.Map<java.lang.String,JMSDestination> |
getJMSDestinationMap() |
java.lang.String |
getJndiConsumerName() |
java.util.List<JspConfig> |
getJspConfig() |
java.util.List<Listener> |
getListener() |
java.util.List<LocaleEncodingMappingList> |
getLocaleEncodingMappingList() |
java.util.List<LoginConfig> |
getLoginConfig() |
java.util.List<MessageDestination> |
getMessageDestination() |
java.util.Collection<MessageDestinationRef> |
getMessageDestinationRef() |
java.util.Map<java.lang.String,MessageDestinationRef> |
getMessageDestinationRefMap() |
java.util.List<MimeMapping> |
getMimeMapping() |
java.lang.String |
getModuleName() |
java.util.Collection<PersistenceContextRef> |
getPersistenceContextRef() |
java.util.Map<java.lang.String,PersistenceContextRef> |
getPersistenceContextRefMap() |
java.util.Collection<PersistenceUnitRef> |
getPersistenceUnitRef() |
java.util.Map<java.lang.String,PersistenceUnitRef> |
getPersistenceUnitRefMap() |
java.util.List<LifecycleCallback> |
getPostConstruct() |
java.util.List<LifecycleCallback> |
getPreDestroy() |
java.util.Collection<ResourceEnvRef> |
getResourceEnvRef() |
java.util.Map<java.lang.String,ResourceEnvRef> |
getResourceEnvRefMap() |
java.util.Collection<ResourceRef> |
getResourceRef() |
java.util.Map<java.lang.String,ResourceRef> |
getResourceRefMap() |
java.util.List<SecurityConstraint> |
getSecurityConstraint() |
java.util.List<SecurityRole> |
getSecurityRole() |
java.util.Collection<ServiceRef> |
getServiceRef() |
java.util.Map<java.lang.String,ServiceRef> |
getServiceRefMap() |
java.util.List<Servlet> |
getServlet() |
java.util.List<ServletMapping> |
getServletMapping() |
java.util.List<java.lang.String> |
getServletMappings(java.lang.String servletName) |
java.util.List<SessionConfig> |
getSessionConfig() |
Taglib |
getTaglib() |
java.lang.String |
getVersion() |
java.util.List<WelcomeFileList> |
getWelcomeFileList() |
java.lang.Boolean |
isMetadataComplete() |
void |
setAbsoluteOrdering(AbsoluteOrdering absoluteOrdering) |
void |
setContextRoot(java.lang.String contextRoot) |
void |
setDefaultContextPath(java.lang.String defaultContextPath) |
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setId(java.lang.String value) |
void |
setMetadataComplete(java.lang.Boolean value) |
void |
setModuleName(java.lang.String moduleName) |
void |
setTaglib(Taglib taglib) |
void |
setVersion(java.lang.String value) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected java.util.List<Empty> distributable
protected java.util.List<ParamValue> contextParam
protected java.util.List<Filter> filter
protected java.util.List<FilterMapping> filterMapping
protected java.util.List<Listener> listener
protected java.util.List<Servlet> servlet
protected java.util.List<ServletMapping> servletMapping
protected java.util.List<SessionConfig> sessionConfig
protected java.util.List<MimeMapping> mimeMapping
protected java.util.List<WelcomeFileList> welcomeFileList
protected java.util.List<ErrorPage> errorPage
protected java.util.List<JspConfig> jspConfig
protected java.util.List<SecurityConstraint> securityConstraint
protected java.util.List<LoginConfig> loginConfig
protected java.util.List<SecurityRole> securityRole
protected java.util.List<LocaleEncodingMappingList> localeEncodingMappingList
protected KeyedCollection<java.lang.String,EnvEntry> envEntry
protected KeyedCollection<java.lang.String,EjbRef> ejbRef
protected KeyedCollection<java.lang.String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<java.lang.String,ServiceRef> serviceRef
protected KeyedCollection<java.lang.String,ResourceRef> resourceRef
protected KeyedCollection<java.lang.String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<java.lang.String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<java.lang.String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<java.lang.String,PersistenceUnitRef> persistenceUnitRef
protected KeyedCollection<java.lang.String,DataSource> dataSource
protected KeyedCollection<java.lang.String,JMSConnectionFactory> jmsConnectionFactories
protected KeyedCollection<java.lang.String,JMSDestination> jmsDestinations
protected java.util.List<LifecycleCallback> postConstruct
protected java.util.List<LifecycleCallback> preDestroy
protected java.util.List<MessageDestination> messageDestination
protected java.lang.String moduleName
protected java.lang.String defaultContextPath
protected AbsoluteOrdering absoluteOrdering
protected java.lang.String id
protected java.lang.Boolean metadataComplete
protected java.lang.String version
public java.lang.String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumergetJndiConsumerName in interface WebCommonpublic java.lang.String getContextRoot()
getContextRoot in interface WebCommonpublic void setContextRoot(java.lang.String contextRoot)
setContextRoot in interface WebCommonpublic Text[] getDescriptions()
getDescriptions in interface WebCommonpublic void setDescriptions(Text[] text)
setDescriptions in interface WebCommonpublic java.lang.String getDescription()
getDescription in interface WebCommonpublic Text[] getDisplayNames()
getDisplayNames in interface WebCommonpublic void setDisplayNames(Text[] text)
setDisplayNames in interface WebCommonpublic java.lang.String getDisplayName()
getDisplayName in interface WebCommonpublic java.lang.String getDefaultContextPath()
public void setDefaultContextPath(java.lang.String defaultContextPath)
public java.util.Map<java.lang.String,Icon> getIconMap()
getIconMap in interface WebCommonpublic java.util.List<Empty> getDistributable()
getDistributable in interface WebCommonpublic java.util.List<ParamValue> getContextParam()
getContextParam in interface WebCommonpublic java.util.List<FilterMapping> getFilterMapping()
getFilterMapping in interface WebCommonpublic java.util.List<Listener> getListener()
getListener in interface WebCommonpublic java.util.List<Servlet> getServlet()
getServlet in interface WebCommonpublic java.util.List<ServletMapping> getServletMapping()
getServletMapping in interface WebCommonpublic java.util.List<SessionConfig> getSessionConfig()
getSessionConfig in interface WebCommonpublic java.util.List<MimeMapping> getMimeMapping()
getMimeMapping in interface WebCommonpublic java.util.List<WelcomeFileList> getWelcomeFileList()
getWelcomeFileList in interface WebCommonpublic java.util.List<ErrorPage> getErrorPage()
getErrorPage in interface WebCommonpublic java.util.List<JspConfig> getJspConfig()
getJspConfig in interface WebCommonpublic java.util.List<SecurityConstraint> getSecurityConstraint()
getSecurityConstraint in interface WebCommonpublic java.util.List<LoginConfig> getLoginConfig()
getLoginConfig in interface WebCommonpublic java.util.List<SecurityRole> getSecurityRole()
getSecurityRole in interface WebCommonpublic java.util.List<LocaleEncodingMappingList> getLocaleEncodingMappingList()
getLocaleEncodingMappingList in interface WebCommonpublic java.util.Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic java.util.Map<java.lang.String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic java.util.Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic java.util.Map<java.lang.String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic java.util.Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic java.util.Map<java.lang.String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic java.util.Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic java.util.Map<java.lang.String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic java.util.Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic java.util.Map<java.lang.String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic java.util.Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic java.util.Map<java.lang.String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic java.util.Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic java.util.Map<java.lang.String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic java.util.Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic java.util.Map<java.lang.String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic java.util.Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic java.util.Map<java.lang.String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic void addPostConstruct(java.lang.String method)
addPostConstruct in interface Lifecyclepublic java.util.List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface LifecyclegetPostConstruct in interface WebCommonpublic void addPreDestroy(java.lang.String method)
addPreDestroy in interface Lifecyclepublic java.util.List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface LifecyclegetPreDestroy in interface WebCommonpublic java.util.List<MessageDestination> getMessageDestination()
getMessageDestination in interface WebCommonpublic java.lang.String getId()
getId in interface NamedModulegetId in interface WebCommonpublic void setId(java.lang.String value)
setId in interface NamedModulesetId in interface WebCommonpublic java.lang.Boolean isMetadataComplete()
isMetadataComplete in interface WebCommonpublic void setMetadataComplete(java.lang.Boolean value)
setMetadataComplete in interface WebCommonpublic java.lang.String getVersion()
getVersion in interface WebCommonpublic void setVersion(java.lang.String value)
setVersion in interface WebCommonpublic java.util.Collection<JMSConnectionFactory> getJMSConnectionFactory()
public java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoryMap()
public java.util.Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic java.util.Map<java.lang.String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic AbsoluteOrdering getAbsoluteOrdering()
public void setAbsoluteOrdering(AbsoluteOrdering absoluteOrdering)
public java.lang.String getModuleName()
getModuleName in interface NamedModulepublic void setModuleName(java.lang.String moduleName)
setModuleName in interface NamedModulepublic Taglib getTaglib()
public void setTaglib(Taglib taglib)
public java.util.Map<java.lang.String,java.lang.String> contextParamsAsMap()
public java.util.List<java.lang.String> getServletMappings(java.lang.String servletName)
public java.util.List<java.lang.String> getFilterMappings(java.lang.String filterName)
public WebApp addServlet(java.lang.String name, java.lang.String clazz, java.lang.String... mappings)
public WebApp addServletMapping(java.lang.String servletName, java.lang.String mapping)
public WebApp addInitParam(java.lang.String servletName, java.lang.String name, java.lang.String value)
public WebApp addFilter(java.lang.String name, java.lang.String clazz, java.lang.String... mappings)
public WebApp addFilterInitParam(java.lang.String filterName, java.lang.String name, java.lang.String value)
public WebApp contextRoot(java.lang.String root)
public WebApp defaultContextPath(java.lang.String path)
public WebApp addListener(java.lang.String classname)
public java.util.Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories in interface JndiConsumerpublic java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap in interface JndiConsumerpublic java.util.Collection<JMSDestination> getJMSDestination()
getJMSDestination in interface JndiConsumerpublic java.util.Map<java.lang.String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap in interface JndiConsumer