|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.JbossTypeImpl<T>
public class JbossTypeImpl<T>
This class implements the jbossType
xsd type
Original Documentation:
The jboss element is the root element of the jboss.xml file. It contains
all the information used by jboss but not described in the ejb-jar.xml file. All of it is
optional. 1- the application assembler can define custom container configurations for the
beans. Standard configurations are provided in standardjboss.xml 2- the deployer can
override the jndi names under which the beans are deployed 3- the deployer can specify
runtime jndi names for resource managers.
Constructor Summary | |
---|---|
JbossTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
JbossTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
AssemblyDescriptorType<JbossType<T>> |
assemblyDescriptor()
If not already created, a new assembly-descriptor element will be created and returned. |
EnterpriseBeansType<JbossType<T>> |
enterpriseBeans()
If not already created, a new enterprise-beans element will be created and returned. |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.util.List<IconType<JbossType<T>>> |
getIconList()
Returns all icon elements |
java.lang.String |
getJaccContextId()
Returns the jacc-context-id element |
java.lang.String |
getJmxName()
Returns the jmx-name element |
java.lang.String |
getJndiBindingPolicy()
Returns the jndi-binding-policy element |
java.lang.String |
getSecurityDomain()
Returns the security-domain element |
java.lang.String |
getUnauthenticatedPrincipal()
Returns the unauthenticated-principal element |
java.lang.String |
getVersion()
Returns the version element |
IconType<JbossType<T>> |
icon()
Returns the icon element |
java.lang.Boolean |
isMetadataComplete()
Returns the metadata-complete element |
java.lang.Boolean |
isMissingMethodPermissionsExcludedMode()
Returns the missing-method-permissions-excluded-mode element |
LoaderRepositoryType<JbossType<T>> |
loaderRepository()
If not already created, a new loader-repository element will be created and returned. |
JbossType<T> |
removeAllDescription()
Removes the description element |
JbossType<T> |
removeAllDisplayName()
Removes the display-name element |
JbossType<T> |
removeAllIcon()
Removes all icon elements |
JbossType<T> |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
JbossType<T> |
removeEnterpriseBeans()
Removes the enterprise-beans element |
JbossType<T> |
removeJaccContextId()
Removes the jacc-context-id element |
JbossType<T> |
removeJmxName()
Removes the jmx-name element |
JbossType<T> |
removeJndiBindingPolicy()
Removes the jndi-binding-policy element |
JbossType<T> |
removeLoaderRepository()
Removes the loader-repository element |
JbossType<T> |
removeMetadataComplete()
Removes the metadata-complete attribute |
JbossType<T> |
removeMissingMethodPermissionsExcludedMode()
Removes the missing-method-permissions-excluded-mode element |
JbossType<T> |
removeResourceManagers()
Removes the resource-managers element |
JbossType<T> |
removeSecurityDomain()
Removes the security-domain element |
JbossType<T> |
removeUnauthenticatedPrincipal()
Removes the unauthenticated-principal element |
JbossType<T> |
removeVersion()
Removes the version attribute |
JbossType<T> |
removeWebservices()
Removes the webservices element |
ResourceManagersType<JbossType<T>> |
resourceManagers()
If not already created, a new resource-managers element will be created and returned. |
JbossType<T> |
setDescription(java.lang.String description)
Creates a new description element |
JbossType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
JbossType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
JbossType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
JbossType<T> |
setJaccContextId(java.lang.String jaccContextId)
If not already created, a new jacc-context-id element with the given value will be created. |
JbossType<T> |
setJmxName(java.lang.String jmxName)
If not already created, a new jmx-name element with the given value will be created. |
JbossType<T> |
setJndiBindingPolicy(java.lang.String jndiBindingPolicy)
If not already created, a new jndi-binding-policy element with the given value will be created. |
JbossType<T> |
setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute |
JbossType<T> |
setMissingMethodPermissionsExcludedMode(java.lang.Boolean missingMethodPermissionsExcludedMode)
If not already created, a new missing-method-permissions-excluded-mode element with the given value will be created. |
JbossType<T> |
setSecurityDomain(java.lang.String securityDomain)
If not already created, a new security-domain element with the given value will be created. |
JbossType<T> |
setUnauthenticatedPrincipal(java.lang.String unauthenticatedPrincipal)
If not already created, a new unauthenticated-principal element with the given value will be created. |
JbossType<T> |
setVersion(java.lang.String version)
Sets the version attribute |
T |
up()
|
WebservicesType<JbossType<T>> |
webservices()
If not already created, a new webservices element will be created and returned. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JbossTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public JbossTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public JbossType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface JbossType<T>
JbossType
public JbossType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface JbossType<T>
list
- of description
objects
JbossType
public JbossType<T> removeAllDescription()
description
element
removeAllDescription
in interface JbossType<T>
JbossType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface JbossType<T>
description
public JbossType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface JbossType<T>
JbossType
public JbossType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface JbossType<T>
list
- of display-name
objects
JbossType
public JbossType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface JbossType<T>
JbossType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface JbossType<T>
display-name
public JbossType<T> removeAllIcon()
icon
elements
removeAllIcon
in interface JbossType<T>
JbossType
public IconType<JbossType<T>> icon()
icon
element
icon
in interface JbossType<T>
icon
public java.util.List<IconType<JbossType<T>>> getIconList()
icon
elements
getIconList
in interface JbossType<T>
icon
public JbossType<T> removeLoaderRepository()
loader-repository
element
removeLoaderRepository
in interface JbossType<T>
JbossType
public LoaderRepositoryType<JbossType<T>> loaderRepository()
loader-repository
element will be created and returned.
Otherwise, the existing loader-repository
element will be returned.
loaderRepository
in interface JbossType<T>
loader-repository
public JbossType<T> setJmxName(java.lang.String jmxName)
jmx-name
element with the given value will be created.
Otherwise, the existing jmx-name
element will be updated with the given value.
setJmxName
in interface JbossType<T>
JbossType
public JbossType<T> removeJmxName()
jmx-name
element
removeJmxName
in interface JbossType<T>
JbossType
public java.lang.String getJmxName()
jmx-name
element
getJmxName
in interface JbossType<T>
jmx-name
public JbossType<T> setSecurityDomain(java.lang.String securityDomain)
security-domain
element with the given value will be created.
Otherwise, the existing security-domain
element will be updated with the given value.
setSecurityDomain
in interface JbossType<T>
JbossType
public JbossType<T> removeSecurityDomain()
security-domain
element
removeSecurityDomain
in interface JbossType<T>
JbossType
public java.lang.String getSecurityDomain()
security-domain
element
getSecurityDomain
in interface JbossType<T>
security-domain
public JbossType<T> setMissingMethodPermissionsExcludedMode(java.lang.Boolean missingMethodPermissionsExcludedMode)
missing-method-permissions-excluded-mode
element with the given value will be created.
Otherwise, the existing missing-method-permissions-excluded-mode
element will be updated with the given value.
setMissingMethodPermissionsExcludedMode
in interface JbossType<T>
JbossType
public JbossType<T> removeMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode
element
removeMissingMethodPermissionsExcludedMode
in interface JbossType<T>
JbossType
public java.lang.Boolean isMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode
element
isMissingMethodPermissionsExcludedMode
in interface JbossType<T>
missing-method-permissions-excluded-mode
public JbossType<T> setUnauthenticatedPrincipal(java.lang.String unauthenticatedPrincipal)
unauthenticated-principal
element with the given value will be created.
Otherwise, the existing unauthenticated-principal
element will be updated with the given value.
setUnauthenticatedPrincipal
in interface JbossType<T>
JbossType
public JbossType<T> removeUnauthenticatedPrincipal()
unauthenticated-principal
element
removeUnauthenticatedPrincipal
in interface JbossType<T>
JbossType
public java.lang.String getUnauthenticatedPrincipal()
unauthenticated-principal
element
getUnauthenticatedPrincipal
in interface JbossType<T>
unauthenticated-principal
public JbossType<T> setJndiBindingPolicy(java.lang.String jndiBindingPolicy)
jndi-binding-policy
element with the given value will be created.
Otherwise, the existing jndi-binding-policy
element will be updated with the given value.
setJndiBindingPolicy
in interface JbossType<T>
JbossType
public JbossType<T> removeJndiBindingPolicy()
jndi-binding-policy
element
removeJndiBindingPolicy
in interface JbossType<T>
JbossType
public java.lang.String getJndiBindingPolicy()
jndi-binding-policy
element
getJndiBindingPolicy
in interface JbossType<T>
jndi-binding-policy
public JbossType<T> setJaccContextId(java.lang.String jaccContextId)
jacc-context-id
element with the given value will be created.
Otherwise, the existing jacc-context-id
element will be updated with the given value.
setJaccContextId
in interface JbossType<T>
JbossType
public JbossType<T> removeJaccContextId()
jacc-context-id
element
removeJaccContextId
in interface JbossType<T>
JbossType
public java.lang.String getJaccContextId()
jacc-context-id
element
getJaccContextId
in interface JbossType<T>
jacc-context-id
public JbossType<T> removeWebservices()
webservices
element
removeWebservices
in interface JbossType<T>
JbossType
public WebservicesType<JbossType<T>> webservices()
webservices
element will be created and returned.
Otherwise, the existing webservices
element will be returned.
webservices
in interface JbossType<T>
webservices
public JbossType<T> removeEnterpriseBeans()
enterprise-beans
element
removeEnterpriseBeans
in interface JbossType<T>
JbossType
public EnterpriseBeansType<JbossType<T>> enterpriseBeans()
enterprise-beans
element will be created and returned.
Otherwise, the existing enterprise-beans
element will be returned.
enterpriseBeans
in interface JbossType<T>
enterprise-beans
public JbossType<T> removeAssemblyDescriptor()
assembly-descriptor
element
removeAssemblyDescriptor
in interface JbossType<T>
JbossType
public AssemblyDescriptorType<JbossType<T>> assemblyDescriptor()
assembly-descriptor
element will be created and returned.
Otherwise, the existing assembly-descriptor
element will be returned.
assemblyDescriptor
in interface JbossType<T>
assembly-descriptor
public JbossType<T> removeResourceManagers()
resource-managers
element
removeResourceManagers
in interface JbossType<T>
JbossType
public ResourceManagersType<JbossType<T>> resourceManagers()
resource-managers
element will be created and returned.
Otherwise, the existing resource-managers
element will be returned.
resourceManagers
in interface JbossType<T>
resource-managers
public JbossType<T> setVersion(java.lang.String version)
version
attribute
setVersion
in interface JbossType<T>
version
- the value for the attribute version
JbossType
public JbossType<T> removeVersion()
version
attribute
removeVersion
in interface JbossType<T>
JbossType
public java.lang.String getVersion()
version
element
getVersion
in interface JbossType<T>
version
public JbossType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete
attribute
setMetadataComplete
in interface JbossType<T>
metadataComplete
- the value for the attribute metadata-complete
JbossType
public JbossType<T> removeMetadataComplete()
metadata-complete
attribute
removeMetadataComplete
in interface JbossType<T>
JbossType
public java.lang.Boolean isMetadataComplete()
metadata-complete
element
isMetadataComplete
in interface JbossType<T>
metadata-complete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |