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 JndiConsumer
getJndiConsumerName
in interface WebCommon
public java.lang.String getContextRoot()
getContextRoot
in interface WebCommon
public void setContextRoot(java.lang.String contextRoot)
setContextRoot
in interface WebCommon
public Text[] getDescriptions()
getDescriptions
in interface WebCommon
public void setDescriptions(Text[] text)
setDescriptions
in interface WebCommon
public java.lang.String getDescription()
getDescription
in interface WebCommon
public Text[] getDisplayNames()
getDisplayNames
in interface WebCommon
public void setDisplayNames(Text[] text)
setDisplayNames
in interface WebCommon
public java.lang.String getDisplayName()
getDisplayName
in interface WebCommon
public java.lang.String getDefaultContextPath()
public void setDefaultContextPath(java.lang.String defaultContextPath)
public java.util.Map<java.lang.String,Icon> getIconMap()
getIconMap
in interface WebCommon
public java.util.List<Empty> getDistributable()
getDistributable
in interface WebCommon
public java.util.List<ParamValue> getContextParam()
getContextParam
in interface WebCommon
public java.util.List<FilterMapping> getFilterMapping()
getFilterMapping
in interface WebCommon
public java.util.List<Listener> getListener()
getListener
in interface WebCommon
public java.util.List<Servlet> getServlet()
getServlet
in interface WebCommon
public java.util.List<ServletMapping> getServletMapping()
getServletMapping
in interface WebCommon
public java.util.List<SessionConfig> getSessionConfig()
getSessionConfig
in interface WebCommon
public java.util.List<MimeMapping> getMimeMapping()
getMimeMapping
in interface WebCommon
public java.util.List<WelcomeFileList> getWelcomeFileList()
getWelcomeFileList
in interface WebCommon
public java.util.List<ErrorPage> getErrorPage()
getErrorPage
in interface WebCommon
public java.util.List<JspConfig> getJspConfig()
getJspConfig
in interface WebCommon
public java.util.List<SecurityConstraint> getSecurityConstraint()
getSecurityConstraint
in interface WebCommon
public java.util.List<LoginConfig> getLoginConfig()
getLoginConfig
in interface WebCommon
public java.util.List<SecurityRole> getSecurityRole()
getSecurityRole
in interface WebCommon
public java.util.List<LocaleEncodingMappingList> getLocaleEncodingMappingList()
getLocaleEncodingMappingList
in interface WebCommon
public java.util.Collection<EnvEntry> getEnvEntry()
getEnvEntry
in interface JndiConsumer
public java.util.Map<java.lang.String,EnvEntry> getEnvEntryMap()
getEnvEntryMap
in interface JndiConsumer
public java.util.Collection<EjbRef> getEjbRef()
getEjbRef
in interface JndiConsumer
public java.util.Map<java.lang.String,EjbRef> getEjbRefMap()
getEjbRefMap
in interface JndiConsumer
public java.util.Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef
in interface JndiConsumer
public java.util.Map<java.lang.String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap
in interface JndiConsumer
public java.util.Collection<ServiceRef> getServiceRef()
getServiceRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ServiceRef> getServiceRefMap()
getServiceRefMap
in interface JndiConsumer
public java.util.Collection<ResourceRef> getResourceRef()
getResourceRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ResourceRef> getResourceRefMap()
getResourceRefMap
in interface JndiConsumer
public java.util.Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap
in interface JndiConsumer
public java.util.Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef
in interface JndiConsumer
public java.util.Map<java.lang.String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap
in interface JndiConsumer
public java.util.Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef
in interface JndiConsumer
public java.util.Map<java.lang.String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap
in interface JndiConsumer
public java.util.Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef
in interface JndiConsumer
public java.util.Map<java.lang.String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap
in interface JndiConsumer
public void addPostConstruct(java.lang.String method)
addPostConstruct
in interface Lifecycle
public java.util.List<LifecycleCallback> getPostConstruct()
getPostConstruct
in interface Lifecycle
getPostConstruct
in interface WebCommon
public void addPreDestroy(java.lang.String method)
addPreDestroy
in interface Lifecycle
public java.util.List<LifecycleCallback> getPreDestroy()
getPreDestroy
in interface Lifecycle
getPreDestroy
in interface WebCommon
public java.util.List<MessageDestination> getMessageDestination()
getMessageDestination
in interface WebCommon
public java.lang.String getId()
getId
in interface NamedModule
getId
in interface WebCommon
public void setId(java.lang.String value)
setId
in interface NamedModule
setId
in interface WebCommon
public java.lang.Boolean isMetadataComplete()
isMetadataComplete
in interface WebCommon
public void setMetadataComplete(java.lang.Boolean value)
setMetadataComplete
in interface WebCommon
public java.lang.String getVersion()
getVersion
in interface WebCommon
public void setVersion(java.lang.String value)
setVersion
in interface WebCommon
public java.util.Collection<JMSConnectionFactory> getJMSConnectionFactory()
public java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoryMap()
public java.util.Collection<DataSource> getDataSource()
getDataSource
in interface JndiConsumer
public java.util.Map<java.lang.String,DataSource> getDataSourceMap()
getDataSourceMap
in interface JndiConsumer
public AbsoluteOrdering getAbsoluteOrdering()
public void setAbsoluteOrdering(AbsoluteOrdering absoluteOrdering)
public java.lang.String getModuleName()
getModuleName
in interface NamedModule
public void setModuleName(java.lang.String moduleName)
setModuleName
in interface NamedModule
public 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 JndiConsumer
public java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap
in interface JndiConsumer
public java.util.Collection<JMSDestination> getJMSDestination()
getJMSDestination
in interface JndiConsumer
public java.util.Map<java.lang.String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap
in interface JndiConsumer