public class WebApp extends 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>
| Constructor and Description |
|---|
WebApp() |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected List<ParamValue> contextParam
protected List<FilterMapping> filterMapping
protected List<ServletMapping> servletMapping
protected List<SessionConfig> sessionConfig
protected List<MimeMapping> mimeMapping
protected List<WelcomeFileList> welcomeFileList
protected List<SecurityConstraint> securityConstraint
protected List<LoginConfig> loginConfig
protected List<SecurityRole> securityRole
protected List<LocaleEncodingMappingList> localeEncodingMappingList
protected KeyedCollection<String,EnvEntry> envEntry
protected KeyedCollection<String,EjbRef> ejbRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<String,ServiceRef> serviceRef
protected KeyedCollection<String,ResourceRef> resourceRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
protected KeyedCollection<String,DataSource> dataSource
protected List<LifecycleCallback> postConstruct
protected List<LifecycleCallback> preDestroy
protected List<MessageDestination> messageDestination
protected String moduleName
protected AbsoluteOrdering absoluteOrdering
protected String id
protected Boolean metadataComplete
protected String version
public String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumergetJndiConsumerName in interface WebCommonpublic String getContextRoot()
getContextRoot in interface WebCommonpublic void setContextRoot(String contextRoot)
setContextRoot in interface WebCommonpublic Text[] getDescriptions()
getDescriptions in interface WebCommonpublic void setDescriptions(Text[] text)
setDescriptions in interface WebCommonpublic String getDescription()
getDescription in interface WebCommonpublic Text[] getDisplayNames()
getDisplayNames in interface WebCommonpublic void setDisplayNames(Text[] text)
setDisplayNames in interface WebCommonpublic String getDisplayName()
getDisplayName in interface WebCommonpublic Collection<Icon> getIcons()
public Map<String,Icon> getIconMap()
getIconMap in interface WebCommonpublic List<Empty> getDistributable()
getDistributable in interface WebCommonpublic List<ParamValue> getContextParam()
getContextParam in interface WebCommonpublic List<FilterMapping> getFilterMapping()
getFilterMapping in interface WebCommonpublic List<Listener> getListener()
getListener in interface WebCommonpublic List<Servlet> getServlet()
getServlet in interface WebCommonpublic List<ServletMapping> getServletMapping()
getServletMapping in interface WebCommonpublic List<SessionConfig> getSessionConfig()
getSessionConfig in interface WebCommonpublic List<MimeMapping> getMimeMapping()
getMimeMapping in interface WebCommonpublic List<WelcomeFileList> getWelcomeFileList()
getWelcomeFileList in interface WebCommonpublic List<ErrorPage> getErrorPage()
getErrorPage in interface WebCommonpublic List<JspConfig> getJspConfig()
getJspConfig in interface WebCommonpublic List<SecurityConstraint> getSecurityConstraint()
getSecurityConstraint in interface WebCommonpublic List<LoginConfig> getLoginConfig()
getLoginConfig in interface WebCommonpublic List<SecurityRole> getSecurityRole()
getSecurityRole in interface WebCommonpublic List<LocaleEncodingMappingList> getLocaleEncodingMappingList()
getLocaleEncodingMappingList in interface WebCommonpublic Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic Map<String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic Map<String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic Map<String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic Map<String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic Map<String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic Map<String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic Map<String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic Map<String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic void addPostConstruct(String method)
addPostConstruct in interface Lifecyclepublic List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface LifecyclegetPostConstruct in interface WebCommonpublic void addPreDestroy(String method)
addPreDestroy in interface Lifecyclepublic List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface LifecyclegetPreDestroy in interface WebCommonpublic List<MessageDestination> getMessageDestination()
getMessageDestination in interface WebCommonpublic String getId()
getId in interface NamedModulegetId in interface WebCommonpublic void setId(String value)
setId in interface NamedModulesetId in interface WebCommonpublic Boolean isMetadataComplete()
isMetadataComplete in interface WebCommonpublic void setMetadataComplete(Boolean value)
setMetadataComplete in interface WebCommonpublic String getVersion()
getVersion in interface WebCommonpublic void setVersion(String value)
setVersion in interface WebCommonpublic Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic Map<String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic AbsoluteOrdering getAbsoluteOrdering()
public void setAbsoluteOrdering(AbsoluteOrdering absoluteOrdering)
public String getModuleName()
getModuleName in interface NamedModulepublic void setModuleName(String moduleName)
setModuleName in interface NamedModulepublic Taglib getTaglib()
public void setTaglib(Taglib taglib)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.