|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JbossWebType<T>
This interface defines the contract for the jboss-webType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
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
element
EnvEntryType>
List<EnvEntryType<JbossWebType<T>>> getAllEnvEntry()
env-entry
elements
env-entry
JbossWebType<T> removeAllEnvEntry()
env-entry
elements
EnvEntryType>
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
element
EjbRefType>
List<EjbRefType<JbossWebType<T>>> getAllEjbRef()
ejb-ref
elements
ejb-ref
JbossWebType<T> removeAllEjbRef()
ejb-ref
elements
EjbRefType>
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
element
EjbLocalRefType>
List<EjbLocalRefType<JbossWebType<T>>> getAllEjbLocalRef()
ejb-local-ref
elements
ejb-local-ref
JbossWebType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
EjbLocalRefType>
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
element
ResourceRefType>
List<ResourceRefType<JbossWebType<T>>> getAllResourceRef()
resource-ref
elements
resource-ref
JbossWebType<T> removeAllResourceRef()
resource-ref
elements
ResourceRefType>
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
element
ResourceEnvRefType>
List<ResourceEnvRefType<JbossWebType<T>>> getAllResourceEnvRef()
resource-env-ref
elements
resource-env-ref
JbossWebType<T> removeAllResourceEnvRef()
resource-env-ref
elements
ResourceEnvRefType>
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
element
MessageDestinationRefType>
List<MessageDestinationRefType<JbossWebType<T>>> getAllMessageDestinationRef()
message-destination-ref
elements
message-destination-ref
JbossWebType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
MessageDestinationRefType>
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
element
PersistenceContextRefType>
List<PersistenceContextRefType<JbossWebType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elements
persistence-context-ref
JbossWebType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
PersistenceContextRefType>
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
element
PersistenceUnitRefType>
List<PersistenceUnitRefType<JbossWebType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elements
persistence-unit-ref
JbossWebType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
PersistenceUnitRefType>
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
element
LifecycleCallbackType>
List<LifecycleCallbackType<JbossWebType<T>>> getAllPostConstruct()
post-construct
elements
post-construct
JbossWebType<T> removeAllPostConstruct()
post-construct
elements
LifecycleCallbackType>
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
element
LifecycleCallbackType>
List<LifecycleCallbackType<JbossWebType<T>>> getAllPreDestroy()
pre-destroy
elements
pre-destroy
JbossWebType<T> removeAllPreDestroy()
pre-destroy
elements
LifecycleCallbackType>
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
element
DataSourceType>
List<DataSourceType<JbossWebType<T>>> getAllDataSource()
data-source
elements
data-source
JbossWebType<T> removeAllDataSource()
data-source
elements
DataSourceType>
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
element
ServiceRefType>
List<ServiceRefType<JbossWebType<T>>> getAllServiceRef()
service-ref
elements
service-ref
JbossWebType<T> removeAllServiceRef()
service-ref
elements
ServiceRefType>
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
element
JbossWebType
JbossWebType<T> securityDomain(String securityDomain)
security-domain
element
securityDomain
- the value for the element security-domain
JbossWebType
String getSecurityDomain()
security-domain
element
security-domain
JbossWebType<T> removeSecurityDomain()
security-domain
element
JbossWebType
JbossWebType<T> jaccStarRoleAllow(GenericBooleanType jaccStarRoleAllow)
jacc-star-role-allow
element
jaccStarRoleAllow
- the value for the element jacc-star-role-allow
JbossWebType
JbossWebType<T> jaccStarRoleAllow(String jaccStarRoleAllow)
jacc-star-role-allow
element
jaccStarRoleAllow
- the value for the element jacc-star-role-allow
JbossWebType
GenericBooleanType getJaccStarRoleAllow()
jacc-star-role-allow
element
jacc-star-role-allow
String getJaccStarRoleAllowAsString()
jacc-star-role-allow
element
jacc-star-role-allow
JbossWebType<T> removeJaccStarRoleAllow()
jacc-star-role-allow
attribute
JbossWebType
JbossWebType<T> contextRoot(String contextRoot)
context-root
element
contextRoot
- the value for the element context-root
JbossWebType
String getContextRoot()
context-root
element
context-root
JbossWebType<T> removeContextRoot()
context-root
element
JbossWebType
JbossWebType<T> virtualHost(String... values)
virtual-host
elements,
a new virtual-host
element
values
- list of virtual-host
objects
JbossWebType
List<String> getAllVirtualHost()
virtual-host
elements
virtual-host
JbossWebType<T> removeAllVirtualHost()
virtual-host
element
JbossWebType
JbossWebType<T> useSessionCookies(GenericBooleanType useSessionCookies)
use-session-cookies
element
useSessionCookies
- the value for the element use-session-cookies
JbossWebType
JbossWebType<T> useSessionCookies(String useSessionCookies)
use-session-cookies
element
useSessionCookies
- the value for the element use-session-cookies
JbossWebType
GenericBooleanType getUseSessionCookies()
use-session-cookies
element
use-session-cookies
String getUseSessionCookiesAsString()
use-session-cookies
element
use-session-cookies
JbossWebType<T> removeUseSessionCookies()
use-session-cookies
attribute
JbossWebType
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
element
JbossWebType
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
element
SecurityRoleType>
List<SecurityRoleType<JbossWebType<T>>> getAllSecurityRole()
security-role
elements
security-role
JbossWebType<T> removeAllSecurityRole()
security-role
elements
SecurityRoleType>
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
element
MessageDestinationType>
List<MessageDestinationType<JbossWebType<T>>> getAllMessageDestination()
message-destination
elements
message-destination
JbossWebType<T> removeAllMessageDestination()
message-destination
elements
MessageDestinationType>
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
element
WebserviceDescriptionType>
List<WebserviceDescriptionType<JbossWebType<T>>> getAllWebserviceDescription()
webservice-description
elements
webservice-description
JbossWebType<T> removeAllWebserviceDescription()
webservice-description
elements
WebserviceDescriptionType>
JbossWebType<T> depends(String... values)
depends
elements,
a new depends
element
values
- list of depends
objects
JbossWebType
List<String> getAllDepends()
depends
elements
depends
JbossWebType<T> removeAllDepends()
depends
element
JbossWebType
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
element
ServletType>
List<ServletType<JbossWebType<T>>> getAllServlet()
servlet
elements
servlet
JbossWebType<T> removeAllServlet()
servlet
elements
ServletType>
JbossWebType<T> maxActiveSessions(Integer maxActiveSessions)
max-active-sessions
element
maxActiveSessions
- the value for the element max-active-sessions
JbossWebType
Integer getMaxActiveSessions()
max-active-sessions
element
max-active-sessions
JbossWebType<T> removeMaxActiveSessions()
max-active-sessions
element
JbossWebType
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
element
JbossWebType
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
element
JbossWebType
JbossWebType<T> version(JbossWebVersionType version)
version
attribute
version
- the value for the attribute version
JbossWebType
JbossWebType<T> version(String version)
version
attribute
version
- the value for the attribute version
JbossWebType
JbossWebVersionType getVersion()
version
attribute
version
String getVersionAsString()
version
attribute
version
JbossWebType<T> removeVersion()
version
attribute
JbossWebType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |