
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, removeAllNamespacesexportAsString, exportTo, getDescriptorNameWebAppDescriptor distributable()
distributable elementWebAppDescriptorBoolean isDistributable()
distributable elementWebAppDescriptorWebAppDescriptor removeDistributable()
distributable elementWebAppDescriptorParamValueType<WebAppDescriptor> getOrCreateContextParam()
context-param element will be created and returned.
Otherwise, the first existing context-param element will be returned.context-paramParamValueType<WebAppDescriptor> createContextParam()
context-param elementParamValueTypeList<ParamValueType<WebAppDescriptor>> getAllContextParam()
context-param elementscontext-paramWebAppDescriptor removeAllContextParam()
context-param elementsParamValueTypeFilterType<WebAppDescriptor> getOrCreateFilter()
filter element will be created and returned.
Otherwise, the first existing filter element will be returned.filterFilterType<WebAppDescriptor> createFilter()
filter elementFilterTypeList<FilterType<WebAppDescriptor>> getAllFilter()
filter elementsfilterWebAppDescriptor removeAllFilter()
filter elementsFilterTypeFilterMappingType<WebAppDescriptor> getOrCreateFilterMapping()
filter-mapping element will be created and returned.
Otherwise, the first existing filter-mapping element will be returned.filter-mappingFilterMappingType<WebAppDescriptor> createFilterMapping()
filter-mapping elementFilterMappingTypeList<FilterMappingType<WebAppDescriptor>> getAllFilterMapping()
filter-mapping elementsfilter-mappingWebAppDescriptor removeAllFilterMapping()
filter-mapping elementsFilterMappingTypeListenerType<WebAppDescriptor> getOrCreateListener()
listener element will be created and returned.
Otherwise, the first existing listener element will be returned.listenerListenerType<WebAppDescriptor> createListener()
listener elementListenerTypeList<ListenerType<WebAppDescriptor>> getAllListener()
listener elementslistenerWebAppDescriptor removeAllListener()
listener elementsListenerTypeServletType<WebAppDescriptor> getOrCreateServlet()
servlet element will be created and returned.
Otherwise, the first existing servlet element will be returned.servletServletType<WebAppDescriptor> createServlet()
servlet elementServletTypeList<ServletType<WebAppDescriptor>> getAllServlet()
servlet elementsservletWebAppDescriptor removeAllServlet()
servlet elementsServletTypeServletMappingType<WebAppDescriptor> getOrCreateServletMapping()
servlet-mapping element will be created and returned.
Otherwise, the first existing servlet-mapping element will be returned.servlet-mappingServletMappingType<WebAppDescriptor> createServletMapping()
servlet-mapping elementServletMappingTypeList<ServletMappingType<WebAppDescriptor>> getAllServletMapping()
servlet-mapping elementsservlet-mappingWebAppDescriptor removeAllServletMapping()
servlet-mapping elementsServletMappingTypeSessionConfigType<WebAppDescriptor> getOrCreateSessionConfig()
session-config element will be created and returned.
Otherwise, the first existing session-config element will be returned.session-configSessionConfigType<WebAppDescriptor> createSessionConfig()
session-config elementSessionConfigTypeList<SessionConfigType<WebAppDescriptor>> getAllSessionConfig()
session-config elementssession-configWebAppDescriptor removeAllSessionConfig()
session-config elementsSessionConfigTypeMimeMappingType<WebAppDescriptor> getOrCreateMimeMapping()
mime-mapping element will be created and returned.
Otherwise, the first existing mime-mapping element will be returned.mime-mappingMimeMappingType<WebAppDescriptor> createMimeMapping()
mime-mapping elementMimeMappingTypeList<MimeMappingType<WebAppDescriptor>> getAllMimeMapping()
mime-mapping elementsmime-mappingWebAppDescriptor removeAllMimeMapping()
mime-mapping elementsMimeMappingTypeWelcomeFileListType<WebAppDescriptor> getOrCreateWelcomeFileList()
welcome-file-list element will be created and returned.
Otherwise, the first existing welcome-file-list element will be returned.welcome-file-listWelcomeFileListType<WebAppDescriptor> createWelcomeFileList()
welcome-file-list elementWelcomeFileListTypeList<WelcomeFileListType<WebAppDescriptor>> getAllWelcomeFileList()
welcome-file-list elementswelcome-file-listWebAppDescriptor removeAllWelcomeFileList()
welcome-file-list elementsWelcomeFileListTypeErrorPageType<WebAppDescriptor> getOrCreateErrorPage()
error-page element will be created and returned.
Otherwise, the first existing error-page element will be returned.error-pageErrorPageType<WebAppDescriptor> createErrorPage()
error-page elementErrorPageTypeList<ErrorPageType<WebAppDescriptor>> getAllErrorPage()
error-page elementserror-pageWebAppDescriptor removeAllErrorPage()
error-page elementsErrorPageTypeJspConfigType<WebAppDescriptor> getOrCreateJspConfig()
jsp-config element will be created and returned.
Otherwise, the first existing jsp-config element will be returned.jsp-configJspConfigType<WebAppDescriptor> createJspConfig()
jsp-config elementJspConfigTypeList<JspConfigType<WebAppDescriptor>> getAllJspConfig()
jsp-config elementsjsp-configWebAppDescriptor removeAllJspConfig()
jsp-config elementsJspConfigTypeSecurityConstraintType<WebAppDescriptor> getOrCreateSecurityConstraint()
security-constraint element will be created and returned.
Otherwise, the first existing security-constraint element will be returned.security-constraintSecurityConstraintType<WebAppDescriptor> createSecurityConstraint()
security-constraint elementSecurityConstraintTypeList<SecurityConstraintType<WebAppDescriptor>> getAllSecurityConstraint()
security-constraint elementssecurity-constraintWebAppDescriptor removeAllSecurityConstraint()
security-constraint elementsSecurityConstraintTypeLoginConfigType<WebAppDescriptor> getOrCreateLoginConfig()
login-config element will be created and returned.
Otherwise, the first existing login-config element will be returned.login-configLoginConfigType<WebAppDescriptor> createLoginConfig()
login-config elementLoginConfigTypeList<LoginConfigType<WebAppDescriptor>> getAllLoginConfig()
login-config elementslogin-configWebAppDescriptor removeAllLoginConfig()
login-config elementsLoginConfigTypeSecurityRoleType<WebAppDescriptor> getOrCreateSecurityRole()
security-role element will be created and returned.
Otherwise, the first existing security-role element will be returned.security-roleSecurityRoleType<WebAppDescriptor> createSecurityRole()
security-role elementSecurityRoleTypeList<SecurityRoleType<WebAppDescriptor>> getAllSecurityRole()
security-role elementssecurity-roleWebAppDescriptor removeAllSecurityRole()
security-role elementsSecurityRoleTypeMessageDestinationType<WebAppDescriptor> getOrCreateMessageDestination()
message-destination element will be created and returned.
Otherwise, the first existing message-destination element will be returned.message-destinationMessageDestinationType<WebAppDescriptor> createMessageDestination()
message-destination elementMessageDestinationTypeList<MessageDestinationType<WebAppDescriptor>> getAllMessageDestination()
message-destination elementsmessage-destinationWebAppDescriptor removeAllMessageDestination()
message-destination elementsMessageDestinationTypeLocaleEncodingMappingListType<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-listLocaleEncodingMappingListType<WebAppDescriptor> createLocaleEncodingMappingList()
locale-encoding-mapping-list elementLocaleEncodingMappingListTypeList<LocaleEncodingMappingListType<WebAppDescriptor>> getAllLocaleEncodingMappingList()
locale-encoding-mapping-list elementslocale-encoding-mapping-listWebAppDescriptor removeAllLocaleEncodingMappingList()
locale-encoding-mapping-list elementsLocaleEncodingMappingListTypeWebAppDescriptor description(String... values)
description elements,
a new description elementvalues - list of description objectsWebAppDescriptorList<String> getAllDescription()
description elementsdescriptionWebAppDescriptor removeAllDescription()
description elementWebAppDescriptorWebAppDescriptor displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsWebAppDescriptorList<String> getAllDisplayName()
display-name elementsdisplay-nameWebAppDescriptor removeAllDisplayName()
display-name elementWebAppDescriptorIconType<WebAppDescriptor> getOrCreateIcon()
icon element will be created and returned.
Otherwise, the first existing icon element will be returned.iconIconType<WebAppDescriptor> createIcon()
icon elementIconTypeList<IconType<WebAppDescriptor>> getAllIcon()
icon elementsiconWebAppDescriptor removeAllIcon()
icon elementsIconTypeEnvEntryType<WebAppDescriptor> getOrCreateEnvEntry()
env-entry element will be created and returned.
Otherwise, the first existing env-entry element will be returned.env-entryEnvEntryType<WebAppDescriptor> createEnvEntry()
env-entry elementEnvEntryTypeList<EnvEntryType<WebAppDescriptor>> getAllEnvEntry()
env-entry elementsenv-entryWebAppDescriptor removeAllEnvEntry()
env-entry elementsEnvEntryTypeEjbRefType<WebAppDescriptor> getOrCreateEjbRef()
ejb-ref element will be created and returned.
Otherwise, the first existing ejb-ref element will be returned.ejb-refEjbRefType<WebAppDescriptor> createEjbRef()
ejb-ref elementEjbRefTypeList<EjbRefType<WebAppDescriptor>> getAllEjbRef()
ejb-ref elementsejb-refWebAppDescriptor removeAllEjbRef()
ejb-ref elementsEjbRefTypeEjbLocalRefType<WebAppDescriptor> getOrCreateEjbLocalRef()
ejb-local-ref element will be created and returned.
Otherwise, the first existing ejb-local-ref element will be returned.ejb-local-refEjbLocalRefType<WebAppDescriptor> createEjbLocalRef()
ejb-local-ref elementEjbLocalRefTypeList<EjbLocalRefType<WebAppDescriptor>> getAllEjbLocalRef()
ejb-local-ref elementsejb-local-refWebAppDescriptor removeAllEjbLocalRef()
ejb-local-ref elementsEjbLocalRefTypeResourceRefType<WebAppDescriptor> getOrCreateResourceRef()
resource-ref element will be created and returned.
Otherwise, the first existing resource-ref element will be returned.resource-refResourceRefType<WebAppDescriptor> createResourceRef()
resource-ref elementResourceRefTypeList<ResourceRefType<WebAppDescriptor>> getAllResourceRef()
resource-ref elementsresource-refWebAppDescriptor removeAllResourceRef()
resource-ref elementsResourceRefTypeResourceEnvRefType<WebAppDescriptor> getOrCreateResourceEnvRef()
resource-env-ref element will be created and returned.
Otherwise, the first existing resource-env-ref element will be returned.resource-env-refResourceEnvRefType<WebAppDescriptor> createResourceEnvRef()
resource-env-ref elementResourceEnvRefTypeList<ResourceEnvRefType<WebAppDescriptor>> getAllResourceEnvRef()
resource-env-ref elementsresource-env-refWebAppDescriptor removeAllResourceEnvRef()
resource-env-ref elementsResourceEnvRefTypeMessageDestinationRefType<WebAppDescriptor> getOrCreateMessageDestinationRef()
message-destination-ref element will be created and returned.
Otherwise, the first existing message-destination-ref element will be returned.message-destination-refMessageDestinationRefType<WebAppDescriptor> createMessageDestinationRef()
message-destination-ref elementMessageDestinationRefTypeList<MessageDestinationRefType<WebAppDescriptor>> getAllMessageDestinationRef()
message-destination-ref elementsmessage-destination-refWebAppDescriptor removeAllMessageDestinationRef()
message-destination-ref elementsMessageDestinationRefTypePersistenceContextRefType<WebAppDescriptor> getOrCreatePersistenceContextRef()
persistence-context-ref element will be created and returned.
Otherwise, the first existing persistence-context-ref element will be returned.persistence-context-refPersistenceContextRefType<WebAppDescriptor> createPersistenceContextRef()
persistence-context-ref elementPersistenceContextRefTypeList<PersistenceContextRefType<WebAppDescriptor>> getAllPersistenceContextRef()
persistence-context-ref elementspersistence-context-refWebAppDescriptor removeAllPersistenceContextRef()
persistence-context-ref elementsPersistenceContextRefTypePersistenceUnitRefType<WebAppDescriptor> getOrCreatePersistenceUnitRef()
persistence-unit-ref element will be created and returned.
Otherwise, the first existing persistence-unit-ref element will be returned.persistence-unit-refPersistenceUnitRefType<WebAppDescriptor> createPersistenceUnitRef()
persistence-unit-ref elementPersistenceUnitRefTypeList<PersistenceUnitRefType<WebAppDescriptor>> getAllPersistenceUnitRef()
persistence-unit-ref elementspersistence-unit-refWebAppDescriptor removeAllPersistenceUnitRef()
persistence-unit-ref elementsPersistenceUnitRefTypeLifecycleCallbackType<WebAppDescriptor> getOrCreatePostConstruct()
post-construct element will be created and returned.
Otherwise, the first existing post-construct element will be returned.post-constructLifecycleCallbackType<WebAppDescriptor> createPostConstruct()
post-construct elementLifecycleCallbackTypeList<LifecycleCallbackType<WebAppDescriptor>> getAllPostConstruct()
post-construct elementspost-constructWebAppDescriptor removeAllPostConstruct()
post-construct elementsLifecycleCallbackTypeLifecycleCallbackType<WebAppDescriptor> getOrCreatePreDestroy()
pre-destroy element will be created and returned.
Otherwise, the first existing pre-destroy element will be returned.pre-destroyLifecycleCallbackType<WebAppDescriptor> createPreDestroy()
pre-destroy elementLifecycleCallbackTypeList<LifecycleCallbackType<WebAppDescriptor>> getAllPreDestroy()
pre-destroy elementspre-destroyWebAppDescriptor removeAllPreDestroy()
pre-destroy elementsLifecycleCallbackTypeDataSourceType<WebAppDescriptor> getOrCreateDataSource()
data-source element will be created and returned.
Otherwise, the first existing data-source element will be returned.data-sourceDataSourceType<WebAppDescriptor> createDataSource()
data-source elementDataSourceTypeList<DataSourceType<WebAppDescriptor>> getAllDataSource()
data-source elementsdata-sourceWebAppDescriptor removeAllDataSource()
data-source elementsDataSourceTypeJmsConnectionFactoryType<WebAppDescriptor> getOrCreateJmsConnectionFactory()
jms-connection-factory element will be created and returned.
Otherwise, the first existing jms-connection-factory element will be returned.jms-connection-factoryJmsConnectionFactoryType<WebAppDescriptor> createJmsConnectionFactory()
jms-connection-factory elementJmsConnectionFactoryTypeList<JmsConnectionFactoryType<WebAppDescriptor>> getAllJmsConnectionFactory()
jms-connection-factory elementsjms-connection-factoryWebAppDescriptor removeAllJmsConnectionFactory()
jms-connection-factory elementsJmsConnectionFactoryTypeJmsDestinationType<WebAppDescriptor> getOrCreateJmsDestination()
jms-destination element will be created and returned.
Otherwise, the first existing jms-destination element will be returned.jms-destinationJmsDestinationType<WebAppDescriptor> createJmsDestination()
jms-destination elementJmsDestinationTypeList<JmsDestinationType<WebAppDescriptor>> getAllJmsDestination()
jms-destination elementsjms-destinationWebAppDescriptor removeAllJmsDestination()
jms-destination elementsJmsDestinationTypeMailSessionType<WebAppDescriptor> getOrCreateMailSession()
mail-session element will be created and returned.
Otherwise, the first existing mail-session element will be returned.mail-sessionMailSessionType<WebAppDescriptor> createMailSession()
mail-session elementMailSessionTypeList<MailSessionType<WebAppDescriptor>> getAllMailSession()
mail-session elementsmail-sessionWebAppDescriptor removeAllMailSession()
mail-session elementsMailSessionTypeConnectionFactoryResourceType<WebAppDescriptor> getOrCreateConnectionFactory()
connection-factory element will be created and returned.
Otherwise, the first existing connection-factory element will be returned.connection-factoryConnectionFactoryResourceType<WebAppDescriptor> createConnectionFactory()
connection-factory elementConnectionFactoryResourceTypeList<ConnectionFactoryResourceType<WebAppDescriptor>> getAllConnectionFactory()
connection-factory elementsconnection-factoryWebAppDescriptor removeAllConnectionFactory()
connection-factory elementsConnectionFactoryResourceTypeAdministeredObjectType<WebAppDescriptor> getOrCreateAdministeredObject()
administered-object element will be created and returned.
Otherwise, the first existing administered-object element will be returned.administered-objectAdministeredObjectType<WebAppDescriptor> createAdministeredObject()
administered-object elementAdministeredObjectTypeList<AdministeredObjectType<WebAppDescriptor>> getAllAdministeredObject()
administered-object elementsadministered-objectWebAppDescriptor removeAllAdministeredObject()
administered-object elementsAdministeredObjectTypeServiceRefType<WebAppDescriptor> getOrCreateServiceRef()
service-ref element will be created and returned.
Otherwise, the first existing service-ref element will be returned.service-refServiceRefType<WebAppDescriptor> createServiceRef()
service-ref elementServiceRefTypeList<ServiceRefType<WebAppDescriptor>> getAllServiceRef()
service-ref elementsservice-refWebAppDescriptor removeAllServiceRef()
service-ref elementsServiceRefTypeWebAppDescriptor version(WebAppVersionType version)
version attributeversion - the value for the attribute versionWebAppDescriptorWebAppDescriptor version(String version)
version attributeversion - the value for the attribute versionWebAppDescriptorWebAppVersionType getVersion()
version attributeversionString getVersionAsString()
version attributeversionWebAppDescriptor removeVersion()
version attributeWebAppDescriptorWebAppDescriptor 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 idWebAppDescriptorString 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>>idWebAppDescriptor 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>>WebAppDescriptorWebAppDescriptor 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-completeWebAppDescriptorBoolean 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-completeWebAppDescriptor 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>>WebAppDescriptorWebAppDescriptor moduleName(String... values)
module-name elements,
a new module-name elementvalues - list of module-name objectsWebAppDescriptorList<String> getAllModuleName()
module-name elementsmodule-nameWebAppDescriptor removeAllModuleName()
module-name elementWebAppDescriptorWebAppDescriptor denyUncoveredHttpMethods()
deny-uncovered-http-methods elementWebAppDescriptorBoolean isDenyUncoveredHttpMethods()
deny-uncovered-http-methods elementWebAppDescriptorWebAppDescriptor removeDenyUncoveredHttpMethods()
deny-uncovered-http-methods elementWebAppDescriptorAbsoluteOrderingType<WebAppDescriptor> getOrCreateAbsoluteOrdering()
absolute-ordering element will be created and returned.
Otherwise, the first existing absolute-ordering element will be returned.absolute-orderingAbsoluteOrderingType<WebAppDescriptor> createAbsoluteOrdering()
absolute-ordering elementAbsoluteOrderingTypeList<AbsoluteOrderingType<WebAppDescriptor>> getAllAbsoluteOrdering()
absolute-ordering elementsabsolute-orderingWebAppDescriptor removeAllAbsoluteOrdering()
absolute-ordering elementsAbsoluteOrderingTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.