public interface JbossWebType<T> extends Child<T>
jboss-webType
xsd typeModifier and Type | Method and Description |
---|---|
JbossWebType<T> |
contextRoot(String contextRoot)
Sets the
context-root element |
DataSourceType<JbossWebType<T>> |
createDataSource()
Creates a new
data-source element |
EjbLocalRefType<JbossWebType<T>> |
createEjbLocalRef()
Creates a new
ejb-local-ref element |
EjbRefType<JbossWebType<T>> |
createEjbRef()
Creates a new
ejb-ref element |
EnvEntryType<JbossWebType<T>> |
createEnvEntry()
Creates a new
env-entry element |
MessageDestinationType<JbossWebType<T>> |
createMessageDestination()
Creates a new
message-destination element |
MessageDestinationRefType<JbossWebType<T>> |
createMessageDestinationRef()
Creates a new
message-destination-ref element |
PersistenceContextRefType<JbossWebType<T>> |
createPersistenceContextRef()
Creates a new
persistence-context-ref element |
PersistenceUnitRefType<JbossWebType<T>> |
createPersistenceUnitRef()
Creates a new
persistence-unit-ref element |
LifecycleCallbackType<JbossWebType<T>> |
createPostConstruct()
Creates a new
post-construct element |
LifecycleCallbackType<JbossWebType<T>> |
createPreDestroy()
Creates a new
pre-destroy element |
ResourceEnvRefType<JbossWebType<T>> |
createResourceEnvRef()
Creates a new
resource-env-ref element |
ResourceRefType<JbossWebType<T>> |
createResourceRef()
Creates a new
resource-ref element |
SecurityRoleType<JbossWebType<T>> |
createSecurityRole()
Creates a new
security-role element |
ServiceRefType<JbossWebType<T>> |
createServiceRef()
Creates a new
service-ref element |
ServletType<JbossWebType<T>> |
createServlet()
Creates a new
servlet element |
WebserviceDescriptionType<JbossWebType<T>> |
createWebserviceDescription()
Creates a new
webservice-description element |
JbossWebType<T> |
depends(String... values)
Creates for all String objects representing
depends elements,
a new depends element |
List<DataSourceType<JbossWebType<T>>> |
getAllDataSource()
Returns all
data-source elements |
List<String> |
getAllDepends()
Returns all
depends elements |
List<EjbLocalRefType<JbossWebType<T>>> |
getAllEjbLocalRef()
Returns all
ejb-local-ref elements |
List<EjbRefType<JbossWebType<T>>> |
getAllEjbRef()
Returns all
ejb-ref elements |
List<EnvEntryType<JbossWebType<T>>> |
getAllEnvEntry()
Returns all
env-entry elements |
List<MessageDestinationType<JbossWebType<T>>> |
getAllMessageDestination()
Returns all
message-destination elements |
List<MessageDestinationRefType<JbossWebType<T>>> |
getAllMessageDestinationRef()
Returns all
message-destination-ref elements |
List<PersistenceContextRefType<JbossWebType<T>>> |
getAllPersistenceContextRef()
Returns all
persistence-context-ref elements |
List<PersistenceUnitRefType<JbossWebType<T>>> |
getAllPersistenceUnitRef()
Returns all
persistence-unit-ref elements |
List<LifecycleCallbackType<JbossWebType<T>>> |
getAllPostConstruct()
Returns all
post-construct elements |
List<LifecycleCallbackType<JbossWebType<T>>> |
getAllPreDestroy()
Returns all
pre-destroy elements |
List<ResourceEnvRefType<JbossWebType<T>>> |
getAllResourceEnvRef()
Returns all
resource-env-ref elements |
List<ResourceRefType<JbossWebType<T>>> |
getAllResourceRef()
Returns all
resource-ref elements |
List<SecurityRoleType<JbossWebType<T>>> |
getAllSecurityRole()
Returns all
security-role elements |
List<ServiceRefType<JbossWebType<T>>> |
getAllServiceRef()
Returns all
service-ref elements |
List<ServletType<JbossWebType<T>>> |
getAllServlet()
Returns all
servlet elements |
List<String> |
getAllVirtualHost()
Returns all
virtual-host elements |
List<WebserviceDescriptionType<JbossWebType<T>>> |
getAllWebserviceDescription()
Returns all
webservice-description elements |
String |
getContextRoot()
Returns the
context-root element |
GenericBooleanType |
getJaccStarRoleAllow()
Returns the
jacc-star-role-allow element |
String |
getJaccStarRoleAllowAsString()
Returns the
jacc-star-role-allow element |
Integer |
getMaxActiveSessions()
Returns the
max-active-sessions element |
AnnotationType<JbossWebType<T>> |
getOrCreateAnnotation()
If not already created, a new
annotation element with the given value will be created. |
ClassLoadingType<JbossWebType<T>> |
getOrCreateClassLoading()
If not already created, a new
class-loading element with the given value will be created. |
DataSourceType<JbossWebType<T>> |
getOrCreateDataSource()
If not already created, a new
data-source element will be created and returned. |
EjbLocalRefType<JbossWebType<T>> |
getOrCreateEjbLocalRef()
If not already created, a new
ejb-local-ref element will be created and returned. |
EjbRefType<JbossWebType<T>> |
getOrCreateEjbRef()
If not already created, a new
ejb-ref element will be created and returned. |
EnvEntryType<JbossWebType<T>> |
getOrCreateEnvEntry()
If not already created, a new
env-entry element will be created and returned. |
MessageDestinationType<JbossWebType<T>> |
getOrCreateMessageDestination()
If not already created, a new
message-destination element will be created and returned. |
MessageDestinationRefType<JbossWebType<T>> |
getOrCreateMessageDestinationRef()
If not already created, a new
message-destination-ref element will be created and returned. |
PassivationConfigType<JbossWebType<T>> |
getOrCreatePassivationConfig()
If not already created, a new
passivation-config element with the given value will be created. |
PersistenceContextRefType<JbossWebType<T>> |
getOrCreatePersistenceContextRef()
If not already created, a new
persistence-context-ref element will be created and returned. |
PersistenceUnitRefType<JbossWebType<T>> |
getOrCreatePersistenceUnitRef()
If not already created, a new
persistence-unit-ref element will be created and returned. |
LifecycleCallbackType<JbossWebType<T>> |
getOrCreatePostConstruct()
If not already created, a new
post-construct element will be created and returned. |
LifecycleCallbackType<JbossWebType<T>> |
getOrCreatePreDestroy()
If not already created, a new
pre-destroy element will be created and returned. |
ReplicationConfigType<JbossWebType<T>> |
getOrCreateReplicationConfig()
If not already created, a new
replication-config element with the given value will be created. |
ResourceEnvRefType<JbossWebType<T>> |
getOrCreateResourceEnvRef()
If not already created, a new
resource-env-ref element will be created and returned. |
ResourceRefType<JbossWebType<T>> |
getOrCreateResourceRef()
If not already created, a new
resource-ref element will be created and returned. |
SecurityRoleType<JbossWebType<T>> |
getOrCreateSecurityRole()
If not already created, a new
security-role element will be created and returned. |
ServiceRefType<JbossWebType<T>> |
getOrCreateServiceRef()
If not already created, a new
service-ref element will be created and returned. |
ServletType<JbossWebType<T>> |
getOrCreateServlet()
If not already created, a new
servlet element will be created and returned. |
WebserviceDescriptionType<JbossWebType<T>> |
getOrCreateWebserviceDescription()
If not already created, a new
webservice-description element will be created and returned. |
String |
getSecurityDomain()
Returns the
security-domain element |
GenericBooleanType |
getUseSessionCookies()
Returns the
use-session-cookies element |
String |
getUseSessionCookiesAsString()
Returns the
use-session-cookies element |
JbossWebVersionType |
getVersion()
Returns the
version attribute |
String |
getVersionAsString()
Returns the
version attribute |
JbossWebType<T> |
jaccStarRoleAllow(GenericBooleanType jaccStarRoleAllow)
Sets the
jacc-star-role-allow element |
JbossWebType<T> |
jaccStarRoleAllow(String jaccStarRoleAllow)
Sets the
jacc-star-role-allow element |
JbossWebType<T> |
maxActiveSessions(Integer maxActiveSessions)
Sets the
max-active-sessions element |
JbossWebType<T> |
removeAllDataSource()
Removes all
data-source elements |
JbossWebType<T> |
removeAllDepends()
Removes the
depends element |
JbossWebType<T> |
removeAllEjbLocalRef()
Removes all
ejb-local-ref elements |
JbossWebType<T> |
removeAllEjbRef()
Removes all
ejb-ref elements |
JbossWebType<T> |
removeAllEnvEntry()
Removes all
env-entry elements |
JbossWebType<T> |
removeAllMessageDestination()
Removes all
message-destination elements |
JbossWebType<T> |
removeAllMessageDestinationRef()
Removes all
message-destination-ref elements |
JbossWebType<T> |
removeAllPersistenceContextRef()
Removes all
persistence-context-ref elements |
JbossWebType<T> |
removeAllPersistenceUnitRef()
Removes all
persistence-unit-ref elements |
JbossWebType<T> |
removeAllPostConstruct()
Removes all
post-construct elements |
JbossWebType<T> |
removeAllPreDestroy()
Removes all
pre-destroy elements |
JbossWebType<T> |
removeAllResourceEnvRef()
Removes all
resource-env-ref elements |
JbossWebType<T> |
removeAllResourceRef()
Removes all
resource-ref elements |
JbossWebType<T> |
removeAllSecurityRole()
Removes all
security-role elements |
JbossWebType<T> |
removeAllServiceRef()
Removes all
service-ref elements |
JbossWebType<T> |
removeAllServlet()
Removes all
servlet elements |
JbossWebType<T> |
removeAllVirtualHost()
Removes the
virtual-host element |
JbossWebType<T> |
removeAllWebserviceDescription()
Removes all
webservice-description elements |
JbossWebType<T> |
removeAnnotation()
Removes the
annotation element |
JbossWebType<T> |
removeClassLoading()
Removes the
class-loading element |
JbossWebType<T> |
removeContextRoot()
Removes the
context-root element |
JbossWebType<T> |
removeJaccStarRoleAllow()
Removes the
jacc-star-role-allow attribute |
JbossWebType<T> |
removeMaxActiveSessions()
Removes the
max-active-sessions element |
JbossWebType<T> |
removePassivationConfig()
Removes the
passivation-config element |
JbossWebType<T> |
removeReplicationConfig()
Removes the
replication-config element |
JbossWebType<T> |
removeSecurityDomain()
Removes the
security-domain element |
JbossWebType<T> |
removeUseSessionCookies()
Removes the
use-session-cookies attribute |
JbossWebType<T> |
removeVersion()
Removes the
version attribute |
JbossWebType<T> |
securityDomain(String securityDomain)
Sets the
security-domain element |
JbossWebType<T> |
useSessionCookies(GenericBooleanType useSessionCookies)
Sets the
use-session-cookies element |
JbossWebType<T> |
useSessionCookies(String useSessionCookies)
Sets the
use-session-cookies element |
JbossWebType<T> |
version(JbossWebVersionType version)
Sets the
version attribute |
JbossWebType<T> |
version(String version)
Sets the
version attribute |
JbossWebType<T> |
virtualHost(String... values)
Creates for all String objects representing
virtual-host elements,
a new virtual-host element |
EnvEntryType<JbossWebType<T>> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.env-entry
EnvEntryType<JbossWebType<T>> createEnvEntry()
env-entry
elementEnvEntryType>
List<EnvEntryType<JbossWebType<T>>> getAllEnvEntry()
env-entry
elementsenv-entry
JbossWebType<T> removeAllEnvEntry()
env-entry
elementsEnvEntryType>
EjbRefType<JbossWebType<T>> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.ejb-ref
EjbRefType<JbossWebType<T>> createEjbRef()
ejb-ref
elementEjbRefType>
List<EjbRefType<JbossWebType<T>>> getAllEjbRef()
ejb-ref
elementsejb-ref
JbossWebType<T> removeAllEjbRef()
ejb-ref
elementsEjbRefType>
EjbLocalRefType<JbossWebType<T>> 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<JbossWebType<T>> createEjbLocalRef()
ejb-local-ref
elementEjbLocalRefType>
List<EjbLocalRefType<JbossWebType<T>>> getAllEjbLocalRef()
ejb-local-ref
elementsejb-local-ref
JbossWebType<T> removeAllEjbLocalRef()
ejb-local-ref
elementsEjbLocalRefType>
ResourceRefType<JbossWebType<T>> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.resource-ref
ResourceRefType<JbossWebType<T>> createResourceRef()
resource-ref
elementResourceRefType>
List<ResourceRefType<JbossWebType<T>>> getAllResourceRef()
resource-ref
elementsresource-ref
JbossWebType<T> removeAllResourceRef()
resource-ref
elementsResourceRefType>
ResourceEnvRefType<JbossWebType<T>> 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<JbossWebType<T>> createResourceEnvRef()
resource-env-ref
elementResourceEnvRefType>
List<ResourceEnvRefType<JbossWebType<T>>> getAllResourceEnvRef()
resource-env-ref
elementsresource-env-ref
JbossWebType<T> removeAllResourceEnvRef()
resource-env-ref
elementsResourceEnvRefType>
MessageDestinationRefType<JbossWebType<T>> 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<JbossWebType<T>> createMessageDestinationRef()
message-destination-ref
elementMessageDestinationRefType>
List<MessageDestinationRefType<JbossWebType<T>>> getAllMessageDestinationRef()
message-destination-ref
elementsmessage-destination-ref
JbossWebType<T> removeAllMessageDestinationRef()
message-destination-ref
elementsMessageDestinationRefType>
PersistenceContextRefType<JbossWebType<T>> 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<JbossWebType<T>> createPersistenceContextRef()
persistence-context-ref
elementPersistenceContextRefType>
List<PersistenceContextRefType<JbossWebType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elementspersistence-context-ref
JbossWebType<T> removeAllPersistenceContextRef()
persistence-context-ref
elementsPersistenceContextRefType>
PersistenceUnitRefType<JbossWebType<T>> 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<JbossWebType<T>> createPersistenceUnitRef()
persistence-unit-ref
elementPersistenceUnitRefType>
List<PersistenceUnitRefType<JbossWebType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elementspersistence-unit-ref
JbossWebType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elementsPersistenceUnitRefType>
LifecycleCallbackType<JbossWebType<T>> getOrCreatePostConstruct()
post-construct
element will be created and returned.
Otherwise, the first existing post-construct
element will be returned.post-construct
LifecycleCallbackType<JbossWebType<T>> createPostConstruct()
post-construct
elementLifecycleCallbackType>
List<LifecycleCallbackType<JbossWebType<T>>> getAllPostConstruct()
post-construct
elementspost-construct
JbossWebType<T> removeAllPostConstruct()
post-construct
elementsLifecycleCallbackType>
LifecycleCallbackType<JbossWebType<T>> getOrCreatePreDestroy()
pre-destroy
element will be created and returned.
Otherwise, the first existing pre-destroy
element will be returned.pre-destroy
LifecycleCallbackType<JbossWebType<T>> createPreDestroy()
pre-destroy
elementLifecycleCallbackType>
List<LifecycleCallbackType<JbossWebType<T>>> getAllPreDestroy()
pre-destroy
elementspre-destroy
JbossWebType<T> removeAllPreDestroy()
pre-destroy
elementsLifecycleCallbackType>
DataSourceType<JbossWebType<T>> getOrCreateDataSource()
data-source
element will be created and returned.
Otherwise, the first existing data-source
element will be returned.data-source
DataSourceType<JbossWebType<T>> createDataSource()
data-source
elementDataSourceType>
List<DataSourceType<JbossWebType<T>>> getAllDataSource()
data-source
elementsdata-source
JbossWebType<T> removeAllDataSource()
data-source
elementsDataSourceType>
ServiceRefType<JbossWebType<T>> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.service-ref
ServiceRefType<JbossWebType<T>> createServiceRef()
service-ref
elementServiceRefType>
List<ServiceRefType<JbossWebType<T>>> getAllServiceRef()
service-ref
elementsservice-ref
JbossWebType<T> removeAllServiceRef()
service-ref
elementsServiceRefType>
ClassLoadingType<JbossWebType<T>> getOrCreateClassLoading()
class-loading
element with the given value will be created.
Otherwise, the existing class-loading
element will be returned.ClassLoadingType>
JbossWebType<T> removeClassLoading()
class-loading
elementJbossWebType
JbossWebType<T> securityDomain(String securityDomain)
security-domain
elementsecurityDomain
- the value for the element security-domain
JbossWebType
String getSecurityDomain()
security-domain
elementsecurity-domain
JbossWebType<T> removeSecurityDomain()
security-domain
elementJbossWebType
JbossWebType<T> jaccStarRoleAllow(GenericBooleanType jaccStarRoleAllow)
jacc-star-role-allow
elementjaccStarRoleAllow
- the value for the element jacc-star-role-allow
JbossWebType
JbossWebType<T> jaccStarRoleAllow(String jaccStarRoleAllow)
jacc-star-role-allow
elementjaccStarRoleAllow
- the value for the element jacc-star-role-allow
JbossWebType
GenericBooleanType getJaccStarRoleAllow()
jacc-star-role-allow
elementjacc-star-role-allow
String getJaccStarRoleAllowAsString()
jacc-star-role-allow
elementjacc-star-role-allow
JbossWebType<T> removeJaccStarRoleAllow()
jacc-star-role-allow
attributeJbossWebType
JbossWebType<T> contextRoot(String contextRoot)
context-root
elementcontextRoot
- the value for the element context-root
JbossWebType
String getContextRoot()
context-root
elementcontext-root
JbossWebType<T> removeContextRoot()
context-root
elementJbossWebType
JbossWebType<T> virtualHost(String... values)
virtual-host
elements,
a new virtual-host
elementvalues
- list of virtual-host
objectsJbossWebType
List<String> getAllVirtualHost()
virtual-host
elementsvirtual-host
JbossWebType<T> removeAllVirtualHost()
virtual-host
elementJbossWebType
JbossWebType<T> useSessionCookies(GenericBooleanType useSessionCookies)
use-session-cookies
elementuseSessionCookies
- the value for the element use-session-cookies
JbossWebType
JbossWebType<T> useSessionCookies(String useSessionCookies)
use-session-cookies
elementuseSessionCookies
- the value for the element use-session-cookies
JbossWebType
GenericBooleanType getUseSessionCookies()
use-session-cookies
elementuse-session-cookies
String getUseSessionCookiesAsString()
use-session-cookies
elementuse-session-cookies
JbossWebType<T> removeUseSessionCookies()
use-session-cookies
attributeJbossWebType
ReplicationConfigType<JbossWebType<T>> getOrCreateReplicationConfig()
replication-config
element with the given value will be created.
Otherwise, the existing replication-config
element will be returned.ReplicationConfigType>
JbossWebType<T> removeReplicationConfig()
replication-config
elementJbossWebType
SecurityRoleType<JbossWebType<T>> getOrCreateSecurityRole()
security-role
element will be created and returned.
Otherwise, the first existing security-role
element will be returned.security-role
SecurityRoleType<JbossWebType<T>> createSecurityRole()
security-role
elementSecurityRoleType>
List<SecurityRoleType<JbossWebType<T>>> getAllSecurityRole()
security-role
elementssecurity-role
JbossWebType<T> removeAllSecurityRole()
security-role
elementsSecurityRoleType>
MessageDestinationType<JbossWebType<T>> getOrCreateMessageDestination()
message-destination
element will be created and returned.
Otherwise, the first existing message-destination
element will be returned.message-destination
MessageDestinationType<JbossWebType<T>> createMessageDestination()
message-destination
elementMessageDestinationType>
List<MessageDestinationType<JbossWebType<T>>> getAllMessageDestination()
message-destination
elementsmessage-destination
JbossWebType<T> removeAllMessageDestination()
message-destination
elementsMessageDestinationType>
WebserviceDescriptionType<JbossWebType<T>> getOrCreateWebserviceDescription()
webservice-description
element will be created and returned.
Otherwise, the first existing webservice-description
element will be returned.webservice-description
WebserviceDescriptionType<JbossWebType<T>> createWebserviceDescription()
webservice-description
elementWebserviceDescriptionType>
List<WebserviceDescriptionType<JbossWebType<T>>> getAllWebserviceDescription()
webservice-description
elementswebservice-description
JbossWebType<T> removeAllWebserviceDescription()
webservice-description
elementsWebserviceDescriptionType>
JbossWebType<T> depends(String... values)
depends
elements,
a new depends
elementvalues
- list of depends
objectsJbossWebType
JbossWebType<T> removeAllDepends()
depends
elementJbossWebType
ServletType<JbossWebType<T>> getOrCreateServlet()
servlet
element will be created and returned.
Otherwise, the first existing servlet
element will be returned.servlet
ServletType<JbossWebType<T>> createServlet()
servlet
elementServletType>
List<ServletType<JbossWebType<T>>> getAllServlet()
servlet
elementsservlet
JbossWebType<T> removeAllServlet()
servlet
elementsServletType>
JbossWebType<T> maxActiveSessions(Integer maxActiveSessions)
max-active-sessions
elementmaxActiveSessions
- the value for the element max-active-sessions
JbossWebType
Integer getMaxActiveSessions()
max-active-sessions
elementmax-active-sessions
JbossWebType<T> removeMaxActiveSessions()
max-active-sessions
elementJbossWebType
PassivationConfigType<JbossWebType<T>> getOrCreatePassivationConfig()
passivation-config
element with the given value will be created.
Otherwise, the existing passivation-config
element will be returned.PassivationConfigType>
JbossWebType<T> removePassivationConfig()
passivation-config
elementJbossWebType
AnnotationType<JbossWebType<T>> getOrCreateAnnotation()
annotation
element with the given value will be created.
Otherwise, the existing annotation
element will be returned.AnnotationType>
JbossWebType<T> removeAnnotation()
annotation
elementJbossWebType
JbossWebType<T> version(JbossWebVersionType version)
version
attributeversion
- the value for the attribute version
JbossWebType
JbossWebType<T> version(String version)
version
attributeversion
- the value for the attribute version
JbossWebType
JbossWebVersionType getVersion()
version
attributeversion
String getVersionAsString()
version
attributeversion
JbossWebType<T> removeVersion()
version
attributeJbossWebType
Copyright © 2015 JBoss by Red Hat. All rights reserved.