public interface WebAppDescriptor extends Descriptor, DescriptorNamespace<WebAppDescriptor>, WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
This deployment descriptor provides the functionalities as described in the specification
Example:
WebAppDescriptor descriptor = Descriptors.create(WebAppDescriptor.class);
Modifier and Type | Method and Description |
---|---|
AbsoluteOrderingType<WebAppDescriptor> |
createAbsoluteOrdering()
Creates a new
absolute-ordering element |
AdministeredObjectType<WebAppDescriptor> |
createAdministeredObject()
Creates a new
administered-object element |
ConnectionFactoryResourceType<WebAppDescriptor> |
createConnectionFactory()
Creates a new
connection-factory element |
ParamValueType<WebAppDescriptor> |
createContextParam()
Creates a new
context-param element |
DataSourceType<WebAppDescriptor> |
createDataSource()
Creates a new
data-source element |
EjbLocalRefType<WebAppDescriptor> |
createEjbLocalRef()
Creates a new
ejb-local-ref element |
EjbRefType<WebAppDescriptor> |
createEjbRef()
Creates a new
ejb-ref element |
EnvEntryType<WebAppDescriptor> |
createEnvEntry()
Creates a new
env-entry element |
ErrorPageType<WebAppDescriptor> |
createErrorPage()
Creates a new
error-page element |
FilterType<WebAppDescriptor> |
createFilter()
Creates a new
filter element |
FilterMappingType<WebAppDescriptor> |
createFilterMapping()
Creates a new
filter-mapping element |
IconType<WebAppDescriptor> |
createIcon()
Creates a new
icon element |
JmsConnectionFactoryType<WebAppDescriptor> |
createJmsConnectionFactory()
Creates a new
jms-connection-factory element |
JmsDestinationType<WebAppDescriptor> |
createJmsDestination()
Creates a new
jms-destination element |
JspConfigType<WebAppDescriptor> |
createJspConfig()
Creates a new
jsp-config element |
ListenerType<WebAppDescriptor> |
createListener()
Creates a new
listener element |
LocaleEncodingMappingListType<WebAppDescriptor> |
createLocaleEncodingMappingList()
Creates a new
locale-encoding-mapping-list element |
LoginConfigType<WebAppDescriptor> |
createLoginConfig()
Creates a new
login-config element |
MailSessionType<WebAppDescriptor> |
createMailSession()
Creates a new
mail-session element |
MessageDestinationType<WebAppDescriptor> |
createMessageDestination()
Creates a new
message-destination element |
MessageDestinationRefType<WebAppDescriptor> |
createMessageDestinationRef()
Creates a new
message-destination-ref element |
MimeMappingType<WebAppDescriptor> |
createMimeMapping()
Creates a new
mime-mapping element |
PersistenceContextRefType<WebAppDescriptor> |
createPersistenceContextRef()
Creates a new
persistence-context-ref element |
PersistenceUnitRefType<WebAppDescriptor> |
createPersistenceUnitRef()
Creates a new
persistence-unit-ref element |
LifecycleCallbackType<WebAppDescriptor> |
createPostConstruct()
Creates a new
post-construct element |
LifecycleCallbackType<WebAppDescriptor> |
createPreDestroy()
Creates a new
pre-destroy element |
ResourceEnvRefType<WebAppDescriptor> |
createResourceEnvRef()
Creates a new
resource-env-ref element |
ResourceRefType<WebAppDescriptor> |
createResourceRef()
Creates a new
resource-ref element |
SecurityConstraintType<WebAppDescriptor> |
createSecurityConstraint()
Creates a new
security-constraint element |
SecurityRoleType<WebAppDescriptor> |
createSecurityRole()
Creates a new
security-role element |
ServiceRefType<WebAppDescriptor> |
createServiceRef()
Creates a new
service-ref element |
ServletType<WebAppDescriptor> |
createServlet()
Creates a new
servlet element |
ServletMappingType<WebAppDescriptor> |
createServletMapping()
Creates a new
servlet-mapping element |
SessionConfigType<WebAppDescriptor> |
createSessionConfig()
Creates a new
session-config element |
WelcomeFileListType<WebAppDescriptor> |
createWelcomeFileList()
Creates a new
welcome-file-list element |
WebAppDescriptor |
denyUncoveredHttpMethods()
Sets the
deny-uncovered-http-methods element |
WebAppDescriptor |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
WebAppDescriptor |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
WebAppDescriptor |
distributable()
Sets the
distributable element |
List<AbsoluteOrderingType<WebAppDescriptor>> |
getAllAbsoluteOrdering()
Returns all
absolute-ordering elements |
List<AdministeredObjectType<WebAppDescriptor>> |
getAllAdministeredObject()
Returns all
administered-object elements |
List<ConnectionFactoryResourceType<WebAppDescriptor>> |
getAllConnectionFactory()
Returns all
connection-factory elements |
List<ParamValueType<WebAppDescriptor>> |
getAllContextParam()
Returns all
context-param elements |
List<DataSourceType<WebAppDescriptor>> |
getAllDataSource()
Returns all
data-source elements |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<EjbLocalRefType<WebAppDescriptor>> |
getAllEjbLocalRef()
Returns all
ejb-local-ref elements |
List<EjbRefType<WebAppDescriptor>> |
getAllEjbRef()
Returns all
ejb-ref elements |
List<EnvEntryType<WebAppDescriptor>> |
getAllEnvEntry()
Returns all
env-entry elements |
List<ErrorPageType<WebAppDescriptor>> |
getAllErrorPage()
Returns all
error-page elements |
List<FilterType<WebAppDescriptor>> |
getAllFilter()
Returns all
filter elements |
List<FilterMappingType<WebAppDescriptor>> |
getAllFilterMapping()
Returns all
filter-mapping elements |
List<IconType<WebAppDescriptor>> |
getAllIcon()
Returns all
icon elements |
List<JmsConnectionFactoryType<WebAppDescriptor>> |
getAllJmsConnectionFactory()
Returns all
jms-connection-factory elements |
List<JmsDestinationType<WebAppDescriptor>> |
getAllJmsDestination()
Returns all
jms-destination elements |
List<JspConfigType<WebAppDescriptor>> |
getAllJspConfig()
Returns all
jsp-config elements |
List<ListenerType<WebAppDescriptor>> |
getAllListener()
Returns all
listener elements |
List<LocaleEncodingMappingListType<WebAppDescriptor>> |
getAllLocaleEncodingMappingList()
Returns all
locale-encoding-mapping-list elements |
List<LoginConfigType<WebAppDescriptor>> |
getAllLoginConfig()
Returns all
login-config elements |
List<MailSessionType<WebAppDescriptor>> |
getAllMailSession()
Returns all
mail-session elements |
List<MessageDestinationType<WebAppDescriptor>> |
getAllMessageDestination()
Returns all
message-destination elements |
List<MessageDestinationRefType<WebAppDescriptor>> |
getAllMessageDestinationRef()
Returns all
message-destination-ref elements |
List<MimeMappingType<WebAppDescriptor>> |
getAllMimeMapping()
Returns all
mime-mapping elements |
List<String> |
getAllModuleName()
Returns all
module-name elements |
List<PersistenceContextRefType<WebAppDescriptor>> |
getAllPersistenceContextRef()
Returns all
persistence-context-ref elements |
List<PersistenceUnitRefType<WebAppDescriptor>> |
getAllPersistenceUnitRef()
Returns all
persistence-unit-ref elements |
List<LifecycleCallbackType<WebAppDescriptor>> |
getAllPostConstruct()
Returns all
post-construct elements |
List<LifecycleCallbackType<WebAppDescriptor>> |
getAllPreDestroy()
Returns all
pre-destroy elements |
List<ResourceEnvRefType<WebAppDescriptor>> |
getAllResourceEnvRef()
Returns all
resource-env-ref elements |
List<ResourceRefType<WebAppDescriptor>> |
getAllResourceRef()
Returns all
resource-ref elements |
List<SecurityConstraintType<WebAppDescriptor>> |
getAllSecurityConstraint()
Returns all
security-constraint elements |
List<SecurityRoleType<WebAppDescriptor>> |
getAllSecurityRole()
Returns all
security-role elements |
List<ServiceRefType<WebAppDescriptor>> |
getAllServiceRef()
Returns all
service-ref elements |
List<ServletType<WebAppDescriptor>> |
getAllServlet()
Returns all
servlet elements |
List<ServletMappingType<WebAppDescriptor>> |
getAllServletMapping()
Returns all
servlet-mapping elements |
List<SessionConfigType<WebAppDescriptor>> |
getAllSessionConfig()
Returns all
session-config elements |
List<WelcomeFileListType<WebAppDescriptor>> |
getAllWelcomeFileList()
Returns all
welcome-file-list elements |
String |
getId()
Returns the
id attribute |
AbsoluteOrderingType<WebAppDescriptor> |
getOrCreateAbsoluteOrdering()
If not already created, a new
absolute-ordering element will be created and returned. |
AdministeredObjectType<WebAppDescriptor> |
getOrCreateAdministeredObject()
If not already created, a new
administered-object element will be created and returned. |
ConnectionFactoryResourceType<WebAppDescriptor> |
getOrCreateConnectionFactory()
If not already created, a new
connection-factory element will be created and returned. |
ParamValueType<WebAppDescriptor> |
getOrCreateContextParam()
If not already created, a new
context-param element will be created and returned. |
DataSourceType<WebAppDescriptor> |
getOrCreateDataSource()
If not already created, a new
data-source element will be created and returned. |
EjbLocalRefType<WebAppDescriptor> |
getOrCreateEjbLocalRef()
If not already created, a new
ejb-local-ref element will be created and returned. |
EjbRefType<WebAppDescriptor> |
getOrCreateEjbRef()
If not already created, a new
ejb-ref element will be created and returned. |
EnvEntryType<WebAppDescriptor> |
getOrCreateEnvEntry()
If not already created, a new
env-entry element will be created and returned. |
ErrorPageType<WebAppDescriptor> |
getOrCreateErrorPage()
If not already created, a new
error-page element will be created and returned. |
FilterType<WebAppDescriptor> |
getOrCreateFilter()
If not already created, a new
filter element will be created and returned. |
FilterMappingType<WebAppDescriptor> |
getOrCreateFilterMapping()
If not already created, a new
filter-mapping element will be created and returned. |
IconType<WebAppDescriptor> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
JmsConnectionFactoryType<WebAppDescriptor> |
getOrCreateJmsConnectionFactory()
If not already created, a new
jms-connection-factory element will be created and returned. |
JmsDestinationType<WebAppDescriptor> |
getOrCreateJmsDestination()
If not already created, a new
jms-destination element will be created and returned. |
JspConfigType<WebAppDescriptor> |
getOrCreateJspConfig()
If not already created, a new
jsp-config element will be created and returned. |
ListenerType<WebAppDescriptor> |
getOrCreateListener()
If not already created, a new
listener element will be created and returned. |
LocaleEncodingMappingListType<WebAppDescriptor> |
getOrCreateLocaleEncodingMappingList()
If not already created, a new
locale-encoding-mapping-list element will be created and returned. |
LoginConfigType<WebAppDescriptor> |
getOrCreateLoginConfig()
If not already created, a new
login-config element will be created and returned. |
MailSessionType<WebAppDescriptor> |
getOrCreateMailSession()
If not already created, a new
mail-session element will be created and returned. |
MessageDestinationType<WebAppDescriptor> |
getOrCreateMessageDestination()
If not already created, a new
message-destination element will be created and returned. |
MessageDestinationRefType<WebAppDescriptor> |
getOrCreateMessageDestinationRef()
If not already created, a new
message-destination-ref element will be created and returned. |
MimeMappingType<WebAppDescriptor> |
getOrCreateMimeMapping()
If not already created, a new
mime-mapping element will be created and returned. |
PersistenceContextRefType<WebAppDescriptor> |
getOrCreatePersistenceContextRef()
If not already created, a new
persistence-context-ref element will be created and returned. |
PersistenceUnitRefType<WebAppDescriptor> |
getOrCreatePersistenceUnitRef()
If not already created, a new
persistence-unit-ref element will be created and returned. |
LifecycleCallbackType<WebAppDescriptor> |
getOrCreatePostConstruct()
If not already created, a new
post-construct element will be created and returned. |
LifecycleCallbackType<WebAppDescriptor> |
getOrCreatePreDestroy()
If not already created, a new
pre-destroy element will be created and returned. |
ResourceEnvRefType<WebAppDescriptor> |
getOrCreateResourceEnvRef()
If not already created, a new
resource-env-ref element will be created and returned. |
ResourceRefType<WebAppDescriptor> |
getOrCreateResourceRef()
If not already created, a new
resource-ref element will be created and returned. |
SecurityConstraintType<WebAppDescriptor> |
getOrCreateSecurityConstraint()
If not already created, a new
security-constraint element will be created and returned. |
SecurityRoleType<WebAppDescriptor> |
getOrCreateSecurityRole()
If not already created, a new
security-role element will be created and returned. |
ServiceRefType<WebAppDescriptor> |
getOrCreateServiceRef()
If not already created, a new
service-ref element will be created and returned. |
ServletType<WebAppDescriptor> |
getOrCreateServlet()
If not already created, a new
servlet element will be created and returned. |
ServletMappingType<WebAppDescriptor> |
getOrCreateServletMapping()
If not already created, a new
servlet-mapping element will be created and returned. |
SessionConfigType<WebAppDescriptor> |
getOrCreateSessionConfig()
If not already created, a new
session-config element will be created and returned. |
WelcomeFileListType<WebAppDescriptor> |
getOrCreateWelcomeFileList()
If not already created, a new
welcome-file-list element will be created and returned. |
WebAppVersionType |
getVersion()
Returns the
version attribute |
String |
getVersionAsString()
Returns the
version attribute |
WebAppDescriptor |
id(String id)
Sets the
id attribute |
Boolean |
isDenyUncoveredHttpMethods()
Removes the
deny-uncovered-http-methods element |
Boolean |
isDistributable()
Removes the
distributable element |
Boolean |
isMetadataComplete()
Returns the
metadata-complete attribute |
WebAppDescriptor |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
WebAppDescriptor |
moduleName(String... values)
Creates for all String objects representing
module-name elements,
a new module-name element |
WebAppDescriptor |
removeAllAbsoluteOrdering()
Removes all
absolute-ordering elements |
WebAppDescriptor |
removeAllAdministeredObject()
Removes all
administered-object elements |
WebAppDescriptor |
removeAllConnectionFactory()
Removes all
connection-factory elements |
WebAppDescriptor |
removeAllContextParam()
Removes all
context-param elements |
WebAppDescriptor |
removeAllDataSource()
Removes all
data-source elements |
WebAppDescriptor |
removeAllDescription()
Removes the
description element |
WebAppDescriptor |
removeAllDisplayName()
Removes the
display-name element |
WebAppDescriptor |
removeAllEjbLocalRef()
Removes all
ejb-local-ref elements |
WebAppDescriptor |
removeAllEjbRef()
Removes all
ejb-ref elements |
WebAppDescriptor |
removeAllEnvEntry()
Removes all
env-entry elements |
WebAppDescriptor |
removeAllErrorPage()
Removes all
error-page elements |
WebAppDescriptor |
removeAllFilter()
Removes all
filter elements |
WebAppDescriptor |
removeAllFilterMapping()
Removes all
filter-mapping elements |
WebAppDescriptor |
removeAllIcon()
Removes all
icon elements |
WebAppDescriptor |
removeAllJmsConnectionFactory()
Removes all
jms-connection-factory elements |
WebAppDescriptor |
removeAllJmsDestination()
Removes all
jms-destination elements |
WebAppDescriptor |
removeAllJspConfig()
Removes all
jsp-config elements |
WebAppDescriptor |
removeAllListener()
Removes all
listener elements |
WebAppDescriptor |
removeAllLocaleEncodingMappingList()
Removes all
locale-encoding-mapping-list elements |
WebAppDescriptor |
removeAllLoginConfig()
Removes all
login-config elements |
WebAppDescriptor |
removeAllMailSession()
Removes all
mail-session elements |
WebAppDescriptor |
removeAllMessageDestination()
Removes all
message-destination elements |
WebAppDescriptor |
removeAllMessageDestinationRef()
Removes all
message-destination-ref elements |
WebAppDescriptor |
removeAllMimeMapping()
Removes all
mime-mapping elements |
WebAppDescriptor |
removeAllModuleName()
Removes the
module-name element |
WebAppDescriptor |
removeAllPersistenceContextRef()
Removes all
persistence-context-ref elements |
WebAppDescriptor |
removeAllPersistenceUnitRef()
Removes all
persistence-unit-ref elements |
WebAppDescriptor |
removeAllPostConstruct()
Removes all
post-construct elements |
WebAppDescriptor |
removeAllPreDestroy()
Removes all
pre-destroy elements |
WebAppDescriptor |
removeAllResourceEnvRef()
Removes all
resource-env-ref elements |
WebAppDescriptor |
removeAllResourceRef()
Removes all
resource-ref elements |
WebAppDescriptor |
removeAllSecurityConstraint()
Removes all
security-constraint elements |
WebAppDescriptor |
removeAllSecurityRole()
Removes all
security-role elements |
WebAppDescriptor |
removeAllServiceRef()
Removes all
service-ref elements |
WebAppDescriptor |
removeAllServlet()
Removes all
servlet elements |
WebAppDescriptor |
removeAllServletMapping()
Removes all
servlet-mapping elements |
WebAppDescriptor |
removeAllSessionConfig()
Removes all
session-config elements |
WebAppDescriptor |
removeAllWelcomeFileList()
Removes all
welcome-file-list elements |
WebAppDescriptor |
removeDenyUncoveredHttpMethods()
Removes the
deny-uncovered-http-methods element |
WebAppDescriptor |
removeDistributable()
Removes the
distributable element |
WebAppDescriptor |
removeId()
Removes the
id attribute |
WebAppDescriptor |
removeMetadataComplete()
Removes the
metadata-complete attribute |
WebAppDescriptor |
removeVersion()
Removes the
version attribute |
WebAppDescriptor |
version(String version)
Sets the
version attribute |
WebAppDescriptor |
version(WebAppVersionType version)
Sets the
version attribute |
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
exportAsString, exportTo, getDescriptorName
WebAppDescriptor distributable()
distributable
elementWebAppDescriptor
Boolean isDistributable()
distributable
elementWebAppDescriptor
WebAppDescriptor removeDistributable()
distributable
elementWebAppDescriptor
ParamValueType<WebAppDescriptor> getOrCreateContextParam()
context-param
element will be created and returned.
Otherwise, the first existing context-param
element will be returned.context-param
ParamValueType<WebAppDescriptor> createContextParam()
context-param
elementParamValueType
List<ParamValueType<WebAppDescriptor>> getAllContextParam()
context-param
elementscontext-param
WebAppDescriptor removeAllContextParam()
context-param
elementsParamValueType
FilterType<WebAppDescriptor> getOrCreateFilter()
filter
element will be created and returned.
Otherwise, the first existing filter
element will be returned.filter
FilterType<WebAppDescriptor> createFilter()
filter
elementFilterType
List<FilterType<WebAppDescriptor>> getAllFilter()
filter
elementsfilter
WebAppDescriptor removeAllFilter()
filter
elementsFilterType
FilterMappingType<WebAppDescriptor> getOrCreateFilterMapping()
filter-mapping
element will be created and returned.
Otherwise, the first existing filter-mapping
element will be returned.filter-mapping
FilterMappingType<WebAppDescriptor> createFilterMapping()
filter-mapping
elementFilterMappingType
List<FilterMappingType<WebAppDescriptor>> getAllFilterMapping()
filter-mapping
elementsfilter-mapping
WebAppDescriptor removeAllFilterMapping()
filter-mapping
elementsFilterMappingType
ListenerType<WebAppDescriptor> getOrCreateListener()
listener
element will be created and returned.
Otherwise, the first existing listener
element will be returned.listener
ListenerType<WebAppDescriptor> createListener()
listener
elementListenerType
List<ListenerType<WebAppDescriptor>> getAllListener()
listener
elementslistener
WebAppDescriptor removeAllListener()
listener
elementsListenerType
ServletType<WebAppDescriptor> getOrCreateServlet()
servlet
element will be created and returned.
Otherwise, the first existing servlet
element will be returned.servlet
ServletType<WebAppDescriptor> createServlet()
servlet
elementServletType
List<ServletType<WebAppDescriptor>> getAllServlet()
servlet
elementsservlet
WebAppDescriptor removeAllServlet()
servlet
elementsServletType
ServletMappingType<WebAppDescriptor> getOrCreateServletMapping()
servlet-mapping
element will be created and returned.
Otherwise, the first existing servlet-mapping
element will be returned.servlet-mapping
ServletMappingType<WebAppDescriptor> createServletMapping()
servlet-mapping
elementServletMappingType
List<ServletMappingType<WebAppDescriptor>> getAllServletMapping()
servlet-mapping
elementsservlet-mapping
WebAppDescriptor removeAllServletMapping()
servlet-mapping
elementsServletMappingType
SessionConfigType<WebAppDescriptor> getOrCreateSessionConfig()
session-config
element will be created and returned.
Otherwise, the first existing session-config
element will be returned.session-config
SessionConfigType<WebAppDescriptor> createSessionConfig()
session-config
elementSessionConfigType
List<SessionConfigType<WebAppDescriptor>> getAllSessionConfig()
session-config
elementssession-config
WebAppDescriptor removeAllSessionConfig()
session-config
elementsSessionConfigType
MimeMappingType<WebAppDescriptor> getOrCreateMimeMapping()
mime-mapping
element will be created and returned.
Otherwise, the first existing mime-mapping
element will be returned.mime-mapping
MimeMappingType<WebAppDescriptor> createMimeMapping()
mime-mapping
elementMimeMappingType
List<MimeMappingType<WebAppDescriptor>> getAllMimeMapping()
mime-mapping
elementsmime-mapping
WebAppDescriptor removeAllMimeMapping()
mime-mapping
elementsMimeMappingType
WelcomeFileListType<WebAppDescriptor> getOrCreateWelcomeFileList()
welcome-file-list
element will be created and returned.
Otherwise, the first existing welcome-file-list
element will be returned.welcome-file-list
WelcomeFileListType<WebAppDescriptor> createWelcomeFileList()
welcome-file-list
elementWelcomeFileListType
List<WelcomeFileListType<WebAppDescriptor>> getAllWelcomeFileList()
welcome-file-list
elementswelcome-file-list
WebAppDescriptor removeAllWelcomeFileList()
welcome-file-list
elementsWelcomeFileListType
ErrorPageType<WebAppDescriptor> getOrCreateErrorPage()
error-page
element will be created and returned.
Otherwise, the first existing error-page
element will be returned.error-page
ErrorPageType<WebAppDescriptor> createErrorPage()
error-page
elementErrorPageType
List<ErrorPageType<WebAppDescriptor>> getAllErrorPage()
error-page
elementserror-page
WebAppDescriptor removeAllErrorPage()
error-page
elementsErrorPageType
JspConfigType<WebAppDescriptor> getOrCreateJspConfig()
jsp-config
element will be created and returned.
Otherwise, the first existing jsp-config
element will be returned.jsp-config
JspConfigType<WebAppDescriptor> createJspConfig()
jsp-config
elementJspConfigType
List<JspConfigType<WebAppDescriptor>> getAllJspConfig()
jsp-config
elementsjsp-config
WebAppDescriptor removeAllJspConfig()
jsp-config
elementsJspConfigType
SecurityConstraintType<WebAppDescriptor> getOrCreateSecurityConstraint()
security-constraint
element will be created and returned.
Otherwise, the first existing security-constraint
element will be returned.security-constraint
SecurityConstraintType<WebAppDescriptor> createSecurityConstraint()
security-constraint
elementSecurityConstraintType
List<SecurityConstraintType<WebAppDescriptor>> getAllSecurityConstraint()
security-constraint
elementssecurity-constraint
WebAppDescriptor removeAllSecurityConstraint()
security-constraint
elementsSecurityConstraintType
LoginConfigType<WebAppDescriptor> getOrCreateLoginConfig()
login-config
element will be created and returned.
Otherwise, the first existing login-config
element will be returned.login-config
LoginConfigType<WebAppDescriptor> createLoginConfig()
login-config
elementLoginConfigType
List<LoginConfigType<WebAppDescriptor>> getAllLoginConfig()
login-config
elementslogin-config
WebAppDescriptor removeAllLoginConfig()
login-config
elementsLoginConfigType
SecurityRoleType<WebAppDescriptor> getOrCreateSecurityRole()
security-role
element will be created and returned.
Otherwise, the first existing security-role
element will be returned.security-role
SecurityRoleType<WebAppDescriptor> createSecurityRole()
security-role
elementSecurityRoleType
List<SecurityRoleType<WebAppDescriptor>> getAllSecurityRole()
security-role
elementssecurity-role
WebAppDescriptor removeAllSecurityRole()
security-role
elementsSecurityRoleType
MessageDestinationType<WebAppDescriptor> getOrCreateMessageDestination()
message-destination
element will be created and returned.
Otherwise, the first existing message-destination
element will be returned.message-destination
MessageDestinationType<WebAppDescriptor> createMessageDestination()
message-destination
elementMessageDestinationType
List<MessageDestinationType<WebAppDescriptor>> getAllMessageDestination()
message-destination
elementsmessage-destination
WebAppDescriptor removeAllMessageDestination()
message-destination
elementsMessageDestinationType
LocaleEncodingMappingListType<WebAppDescriptor> getOrCreateLocaleEncodingMappingList()
locale-encoding-mapping-list
element will be created and returned.
Otherwise, the first existing locale-encoding-mapping-list
element will be returned.locale-encoding-mapping-list
LocaleEncodingMappingListType<WebAppDescriptor> createLocaleEncodingMappingList()
locale-encoding-mapping-list
elementLocaleEncodingMappingListType
List<LocaleEncodingMappingListType<WebAppDescriptor>> getAllLocaleEncodingMappingList()
locale-encoding-mapping-list
elementslocale-encoding-mapping-list
WebAppDescriptor removeAllLocaleEncodingMappingList()
locale-encoding-mapping-list
elementsLocaleEncodingMappingListType
WebAppDescriptor description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsWebAppDescriptor
List<String> getAllDescription()
description
elementsdescription
WebAppDescriptor removeAllDescription()
description
elementWebAppDescriptor
WebAppDescriptor displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsWebAppDescriptor
List<String> getAllDisplayName()
display-name
elementsdisplay-name
WebAppDescriptor removeAllDisplayName()
display-name
elementWebAppDescriptor
IconType<WebAppDescriptor> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<WebAppDescriptor> createIcon()
icon
elementIconType
List<IconType<WebAppDescriptor>> getAllIcon()
icon
elementsicon
WebAppDescriptor removeAllIcon()
icon
elementsIconType
EnvEntryType<WebAppDescriptor> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.env-entry
EnvEntryType<WebAppDescriptor> createEnvEntry()
env-entry
elementEnvEntryType
List<EnvEntryType<WebAppDescriptor>> getAllEnvEntry()
env-entry
elementsenv-entry
WebAppDescriptor removeAllEnvEntry()
env-entry
elementsEnvEntryType
EjbRefType<WebAppDescriptor> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.ejb-ref
EjbRefType<WebAppDescriptor> createEjbRef()
ejb-ref
elementEjbRefType
List<EjbRefType<WebAppDescriptor>> getAllEjbRef()
ejb-ref
elementsejb-ref
WebAppDescriptor removeAllEjbRef()
ejb-ref
elementsEjbRefType
EjbLocalRefType<WebAppDescriptor> getOrCreateEjbLocalRef()
ejb-local-ref
element will be created and returned.
Otherwise, the first existing ejb-local-ref
element will be returned.ejb-local-ref
EjbLocalRefType<WebAppDescriptor> createEjbLocalRef()
ejb-local-ref
elementEjbLocalRefType
List<EjbLocalRefType<WebAppDescriptor>> getAllEjbLocalRef()
ejb-local-ref
elementsejb-local-ref
WebAppDescriptor removeAllEjbLocalRef()
ejb-local-ref
elementsEjbLocalRefType
ResourceRefType<WebAppDescriptor> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.resource-ref
ResourceRefType<WebAppDescriptor> createResourceRef()
resource-ref
elementResourceRefType
List<ResourceRefType<WebAppDescriptor>> getAllResourceRef()
resource-ref
elementsresource-ref
WebAppDescriptor removeAllResourceRef()
resource-ref
elementsResourceRefType
ResourceEnvRefType<WebAppDescriptor> getOrCreateResourceEnvRef()
resource-env-ref
element will be created and returned.
Otherwise, the first existing resource-env-ref
element will be returned.resource-env-ref
ResourceEnvRefType<WebAppDescriptor> createResourceEnvRef()
resource-env-ref
elementResourceEnvRefType
List<ResourceEnvRefType<WebAppDescriptor>> getAllResourceEnvRef()
resource-env-ref
elementsresource-env-ref
WebAppDescriptor removeAllResourceEnvRef()
resource-env-ref
elementsResourceEnvRefType
MessageDestinationRefType<WebAppDescriptor> getOrCreateMessageDestinationRef()
message-destination-ref
element will be created and returned.
Otherwise, the first existing message-destination-ref
element will be returned.message-destination-ref
MessageDestinationRefType<WebAppDescriptor> createMessageDestinationRef()
message-destination-ref
elementMessageDestinationRefType
List<MessageDestinationRefType<WebAppDescriptor>> getAllMessageDestinationRef()
message-destination-ref
elementsmessage-destination-ref
WebAppDescriptor removeAllMessageDestinationRef()
message-destination-ref
elementsMessageDestinationRefType
PersistenceContextRefType<WebAppDescriptor> getOrCreatePersistenceContextRef()
persistence-context-ref
element will be created and returned.
Otherwise, the first existing persistence-context-ref
element will be returned.persistence-context-ref
PersistenceContextRefType<WebAppDescriptor> createPersistenceContextRef()
persistence-context-ref
elementPersistenceContextRefType
List<PersistenceContextRefType<WebAppDescriptor>> getAllPersistenceContextRef()
persistence-context-ref
elementspersistence-context-ref
WebAppDescriptor removeAllPersistenceContextRef()
persistence-context-ref
elementsPersistenceContextRefType
PersistenceUnitRefType<WebAppDescriptor> getOrCreatePersistenceUnitRef()
persistence-unit-ref
element will be created and returned.
Otherwise, the first existing persistence-unit-ref
element will be returned.persistence-unit-ref
PersistenceUnitRefType<WebAppDescriptor> createPersistenceUnitRef()
persistence-unit-ref
elementPersistenceUnitRefType
List<PersistenceUnitRefType<WebAppDescriptor>> getAllPersistenceUnitRef()
persistence-unit-ref
elementspersistence-unit-ref
WebAppDescriptor removeAllPersistenceUnitRef()
persistence-unit-ref
elementsPersistenceUnitRefType
LifecycleCallbackType<WebAppDescriptor> getOrCreatePostConstruct()
post-construct
element will be created and returned.
Otherwise, the first existing post-construct
element will be returned.post-construct
LifecycleCallbackType<WebAppDescriptor> createPostConstruct()
post-construct
elementLifecycleCallbackType
List<LifecycleCallbackType<WebAppDescriptor>> getAllPostConstruct()
post-construct
elementspost-construct
WebAppDescriptor removeAllPostConstruct()
post-construct
elementsLifecycleCallbackType
LifecycleCallbackType<WebAppDescriptor> getOrCreatePreDestroy()
pre-destroy
element will be created and returned.
Otherwise, the first existing pre-destroy
element will be returned.pre-destroy
LifecycleCallbackType<WebAppDescriptor> createPreDestroy()
pre-destroy
elementLifecycleCallbackType
List<LifecycleCallbackType<WebAppDescriptor>> getAllPreDestroy()
pre-destroy
elementspre-destroy
WebAppDescriptor removeAllPreDestroy()
pre-destroy
elementsLifecycleCallbackType
DataSourceType<WebAppDescriptor> getOrCreateDataSource()
data-source
element will be created and returned.
Otherwise, the first existing data-source
element will be returned.data-source
DataSourceType<WebAppDescriptor> createDataSource()
data-source
elementDataSourceType
List<DataSourceType<WebAppDescriptor>> getAllDataSource()
data-source
elementsdata-source
WebAppDescriptor removeAllDataSource()
data-source
elementsDataSourceType
JmsConnectionFactoryType<WebAppDescriptor> getOrCreateJmsConnectionFactory()
jms-connection-factory
element will be created and returned.
Otherwise, the first existing jms-connection-factory
element will be returned.jms-connection-factory
JmsConnectionFactoryType<WebAppDescriptor> createJmsConnectionFactory()
jms-connection-factory
elementJmsConnectionFactoryType
List<JmsConnectionFactoryType<WebAppDescriptor>> getAllJmsConnectionFactory()
jms-connection-factory
elementsjms-connection-factory
WebAppDescriptor removeAllJmsConnectionFactory()
jms-connection-factory
elementsJmsConnectionFactoryType
JmsDestinationType<WebAppDescriptor> getOrCreateJmsDestination()
jms-destination
element will be created and returned.
Otherwise, the first existing jms-destination
element will be returned.jms-destination
JmsDestinationType<WebAppDescriptor> createJmsDestination()
jms-destination
elementJmsDestinationType
List<JmsDestinationType<WebAppDescriptor>> getAllJmsDestination()
jms-destination
elementsjms-destination
WebAppDescriptor removeAllJmsDestination()
jms-destination
elementsJmsDestinationType
MailSessionType<WebAppDescriptor> getOrCreateMailSession()
mail-session
element will be created and returned.
Otherwise, the first existing mail-session
element will be returned.mail-session
MailSessionType<WebAppDescriptor> createMailSession()
mail-session
elementMailSessionType
List<MailSessionType<WebAppDescriptor>> getAllMailSession()
mail-session
elementsmail-session
WebAppDescriptor removeAllMailSession()
mail-session
elementsMailSessionType
ConnectionFactoryResourceType<WebAppDescriptor> getOrCreateConnectionFactory()
connection-factory
element will be created and returned.
Otherwise, the first existing connection-factory
element will be returned.connection-factory
ConnectionFactoryResourceType<WebAppDescriptor> createConnectionFactory()
connection-factory
elementConnectionFactoryResourceType
List<ConnectionFactoryResourceType<WebAppDescriptor>> getAllConnectionFactory()
connection-factory
elementsconnection-factory
WebAppDescriptor removeAllConnectionFactory()
connection-factory
elementsConnectionFactoryResourceType
AdministeredObjectType<WebAppDescriptor> getOrCreateAdministeredObject()
administered-object
element will be created and returned.
Otherwise, the first existing administered-object
element will be returned.administered-object
AdministeredObjectType<WebAppDescriptor> createAdministeredObject()
administered-object
elementAdministeredObjectType
List<AdministeredObjectType<WebAppDescriptor>> getAllAdministeredObject()
administered-object
elementsadministered-object
WebAppDescriptor removeAllAdministeredObject()
administered-object
elementsAdministeredObjectType
ServiceRefType<WebAppDescriptor> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.service-ref
ServiceRefType<WebAppDescriptor> createServiceRef()
service-ref
elementServiceRefType
List<ServiceRefType<WebAppDescriptor>> getAllServiceRef()
service-ref
elementsservice-ref
WebAppDescriptor removeAllServiceRef()
service-ref
elementsServiceRefType
WebAppDescriptor version(WebAppVersionType version)
version
attributeversion
- the value for the attribute version
WebAppDescriptor
WebAppDescriptor version(String version)
version
attributeversion
- the value for the attribute version
WebAppDescriptor
WebAppVersionType getVersion()
version
attributeversion
String getVersionAsString()
version
attributeversion
WebAppDescriptor removeVersion()
version
attributeWebAppDescriptor
WebAppDescriptor id(String id)
id
attributeid
in interface WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
id
- the value for the attribute id
WebAppDescriptor
String getId()
id
attributegetId
in interface WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
id
WebAppDescriptor removeId()
id
attributeremoveId
in interface WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
WebAppDescriptor
WebAppDescriptor metadataComplete(Boolean metadataComplete)
metadata-complete
attributemetadataComplete
in interface WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
metadataComplete
- the value for the attribute metadata-complete
WebAppDescriptor
Boolean isMetadataComplete()
metadata-complete
attributeisMetadataComplete
in interface WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
metadata-complete
WebAppDescriptor removeMetadataComplete()
metadata-complete
attributeremoveMetadataComplete
in interface WebAppCommonDescriptor<WebAppDescriptor,ParamValueType<WebAppDescriptor>,ErrorPageType<WebAppDescriptor>,ServletType<WebAppDescriptor>,ServletMappingType<WebAppDescriptor>,FilterType<WebAppDescriptor>,FilterMappingType<WebAppDescriptor>,ListenerType<WebAppDescriptor>,SessionConfigType<WebAppDescriptor>,MimeMappingType<WebAppDescriptor>,WelcomeFileListType<WebAppDescriptor>,JspConfigType<WebAppDescriptor>,SecurityConstraintType<WebAppDescriptor>,LoginConfigType<WebAppDescriptor>,SecurityRoleType<WebAppDescriptor>,MessageDestinationType<WebAppDescriptor>,LocaleEncodingMappingListType<WebAppDescriptor>>
WebAppDescriptor
WebAppDescriptor moduleName(String... values)
module-name
elements,
a new module-name
elementvalues
- list of module-name
objectsWebAppDescriptor
List<String> getAllModuleName()
module-name
elementsmodule-name
WebAppDescriptor removeAllModuleName()
module-name
elementWebAppDescriptor
WebAppDescriptor denyUncoveredHttpMethods()
deny-uncovered-http-methods
elementWebAppDescriptor
Boolean isDenyUncoveredHttpMethods()
deny-uncovered-http-methods
elementWebAppDescriptor
WebAppDescriptor removeDenyUncoveredHttpMethods()
deny-uncovered-http-methods
elementWebAppDescriptor
AbsoluteOrderingType<WebAppDescriptor> getOrCreateAbsoluteOrdering()
absolute-ordering
element will be created and returned.
Otherwise, the first existing absolute-ordering
element will be returned.absolute-ordering
AbsoluteOrderingType<WebAppDescriptor> createAbsoluteOrdering()
absolute-ordering
elementAbsoluteOrderingType
List<AbsoluteOrderingType<WebAppDescriptor>> getAllAbsoluteOrdering()
absolute-ordering
elementsabsolute-ordering
WebAppDescriptor removeAllAbsoluteOrdering()
absolute-ordering
elementsAbsoluteOrderingType
Copyright © 2023 JBoss by Red Hat. All rights reserved.