public interface JbossWebType<T> extends Child<T>
jboss-webType xsd type| Modifier 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-entryEnvEntryType<JbossWebType<T>> createEnvEntry()
env-entry elementEnvEntryType> List<EnvEntryType<JbossWebType<T>>> getAllEnvEntry()
env-entry elementsenv-entryJbossWebType<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-refEjbRefType<JbossWebType<T>> createEjbRef()
ejb-ref elementEjbRefType> List<EjbRefType<JbossWebType<T>>> getAllEjbRef()
ejb-ref elementsejb-refJbossWebType<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-refEjbLocalRefType<JbossWebType<T>> createEjbLocalRef()
ejb-local-ref elementEjbLocalRefType> List<EjbLocalRefType<JbossWebType<T>>> getAllEjbLocalRef()
ejb-local-ref elementsejb-local-refJbossWebType<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-refResourceRefType<JbossWebType<T>> createResourceRef()
resource-ref elementResourceRefType> List<ResourceRefType<JbossWebType<T>>> getAllResourceRef()
resource-ref elementsresource-refJbossWebType<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-refResourceEnvRefType<JbossWebType<T>> createResourceEnvRef()
resource-env-ref elementResourceEnvRefType> List<ResourceEnvRefType<JbossWebType<T>>> getAllResourceEnvRef()
resource-env-ref elementsresource-env-refJbossWebType<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-refMessageDestinationRefType<JbossWebType<T>> createMessageDestinationRef()
message-destination-ref elementMessageDestinationRefType> List<MessageDestinationRefType<JbossWebType<T>>> getAllMessageDestinationRef()
message-destination-ref elementsmessage-destination-refJbossWebType<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-refPersistenceContextRefType<JbossWebType<T>> createPersistenceContextRef()
persistence-context-ref elementPersistenceContextRefType> List<PersistenceContextRefType<JbossWebType<T>>> getAllPersistenceContextRef()
persistence-context-ref elementspersistence-context-refJbossWebType<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-refPersistenceUnitRefType<JbossWebType<T>> createPersistenceUnitRef()
persistence-unit-ref elementPersistenceUnitRefType> List<PersistenceUnitRefType<JbossWebType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref elementspersistence-unit-refJbossWebType<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-constructLifecycleCallbackType<JbossWebType<T>> createPostConstruct()
post-construct elementLifecycleCallbackType> List<LifecycleCallbackType<JbossWebType<T>>> getAllPostConstruct()
post-construct elementspost-constructJbossWebType<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-destroyLifecycleCallbackType<JbossWebType<T>> createPreDestroy()
pre-destroy elementLifecycleCallbackType> List<LifecycleCallbackType<JbossWebType<T>>> getAllPreDestroy()
pre-destroy elementspre-destroyJbossWebType<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-sourceDataSourceType<JbossWebType<T>> createDataSource()
data-source elementDataSourceType> List<DataSourceType<JbossWebType<T>>> getAllDataSource()
data-source elementsdata-sourceJbossWebType<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-refServiceRefType<JbossWebType<T>> createServiceRef()
service-ref elementServiceRefType> List<ServiceRefType<JbossWebType<T>>> getAllServiceRef()
service-ref elementsservice-refJbossWebType<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 elementJbossWebTypeJbossWebType<T> securityDomain(String securityDomain)
security-domain elementsecurityDomain - the value for the element security-domainJbossWebTypeString getSecurityDomain()
security-domain elementsecurity-domainJbossWebType<T> removeSecurityDomain()
security-domain elementJbossWebTypeJbossWebType<T> jaccStarRoleAllow(GenericBooleanType jaccStarRoleAllow)
jacc-star-role-allow elementjaccStarRoleAllow - the value for the element jacc-star-role-allowJbossWebTypeJbossWebType<T> jaccStarRoleAllow(String jaccStarRoleAllow)
jacc-star-role-allow elementjaccStarRoleAllow - the value for the element jacc-star-role-allowJbossWebTypeGenericBooleanType getJaccStarRoleAllow()
jacc-star-role-allow elementjacc-star-role-allowString getJaccStarRoleAllowAsString()
jacc-star-role-allow elementjacc-star-role-allowJbossWebType<T> removeJaccStarRoleAllow()
jacc-star-role-allow attributeJbossWebTypeJbossWebType<T> contextRoot(String contextRoot)
context-root elementcontextRoot - the value for the element context-rootJbossWebTypeString getContextRoot()
context-root elementcontext-rootJbossWebType<T> removeContextRoot()
context-root elementJbossWebTypeJbossWebType<T> virtualHost(String... values)
virtual-host elements,
a new virtual-host elementvalues - list of virtual-host objectsJbossWebTypeList<String> getAllVirtualHost()
virtual-host elementsvirtual-hostJbossWebType<T> removeAllVirtualHost()
virtual-host elementJbossWebTypeJbossWebType<T> useSessionCookies(GenericBooleanType useSessionCookies)
use-session-cookies elementuseSessionCookies - the value for the element use-session-cookiesJbossWebTypeJbossWebType<T> useSessionCookies(String useSessionCookies)
use-session-cookies elementuseSessionCookies - the value for the element use-session-cookiesJbossWebTypeGenericBooleanType getUseSessionCookies()
use-session-cookies elementuse-session-cookiesString getUseSessionCookiesAsString()
use-session-cookies elementuse-session-cookiesJbossWebType<T> removeUseSessionCookies()
use-session-cookies attributeJbossWebTypeReplicationConfigType<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 elementJbossWebTypeSecurityRoleType<JbossWebType<T>> getOrCreateSecurityRole()
security-role element will be created and returned.
Otherwise, the first existing security-role element will be returned.security-roleSecurityRoleType<JbossWebType<T>> createSecurityRole()
security-role elementSecurityRoleType> List<SecurityRoleType<JbossWebType<T>>> getAllSecurityRole()
security-role elementssecurity-roleJbossWebType<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-destinationMessageDestinationType<JbossWebType<T>> createMessageDestination()
message-destination elementMessageDestinationType> List<MessageDestinationType<JbossWebType<T>>> getAllMessageDestination()
message-destination elementsmessage-destinationJbossWebType<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-descriptionWebserviceDescriptionType<JbossWebType<T>> createWebserviceDescription()
webservice-description elementWebserviceDescriptionType> List<WebserviceDescriptionType<JbossWebType<T>>> getAllWebserviceDescription()
webservice-description elementswebservice-descriptionJbossWebType<T> removeAllWebserviceDescription()
webservice-description elementsWebserviceDescriptionType> JbossWebType<T> depends(String... values)
depends elements,
a new depends elementvalues - list of depends objectsJbossWebTypeJbossWebType<T> removeAllDepends()
depends elementJbossWebTypeServletType<JbossWebType<T>> getOrCreateServlet()
servlet element will be created and returned.
Otherwise, the first existing servlet element will be returned.servletServletType<JbossWebType<T>> createServlet()
servlet elementServletType> List<ServletType<JbossWebType<T>>> getAllServlet()
servlet elementsservletJbossWebType<T> removeAllServlet()
servlet elementsServletType> JbossWebType<T> maxActiveSessions(Integer maxActiveSessions)
max-active-sessions elementmaxActiveSessions - the value for the element max-active-sessionsJbossWebTypeInteger getMaxActiveSessions()
max-active-sessions elementmax-active-sessionsJbossWebType<T> removeMaxActiveSessions()
max-active-sessions elementJbossWebTypePassivationConfigType<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 elementJbossWebTypeAnnotationType<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 elementJbossWebTypeJbossWebType<T> version(JbossWebVersionType version)
version attributeversion - the value for the attribute versionJbossWebTypeJbossWebType<T> version(String version)
version attributeversion - the value for the attribute versionJbossWebTypeJbossWebVersionType getVersion()
version attributeversionString getVersionAsString()
version attributeversionJbossWebType<T> removeVersion()
version attributeJbossWebTypeCopyright © 2016 JBoss by Red Hat. All rights reserved.