|
||||||||||
| 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>JbossTypepublic JbossType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface JbossType<T>list - of description objects
JbossTypepublic JbossType<T> removeAllDescription()
description element
removeAllDescription in interface JbossType<T>JbossTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface JbossType<T>descriptionpublic JbossType<T> setDisplayName(java.lang.String displayName)
display-name element
setDisplayName in interface JbossType<T>JbossTypepublic 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
JbossTypepublic JbossType<T> removeAllDisplayName()
display-name element
removeAllDisplayName in interface JbossType<T>JbossTypepublic java.util.List<java.lang.String> getDisplayNameList()
display-name elements
getDisplayNameList in interface JbossType<T>display-namepublic JbossType<T> removeAllIcon()
icon elements
removeAllIcon in interface JbossType<T>JbossTypepublic IconType<JbossType<T>> icon()
icon element
icon in interface JbossType<T>iconpublic java.util.List<IconType<JbossType<T>>> getIconList()
icon elements
getIconList in interface JbossType<T>iconpublic JbossType<T> removeLoaderRepository()
loader-repository element
removeLoaderRepository in interface JbossType<T>JbossTypepublic 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-repositorypublic 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>JbossTypepublic JbossType<T> removeJmxName()
jmx-name element
removeJmxName in interface JbossType<T>JbossTypepublic java.lang.String getJmxName()
jmx-name element
getJmxName in interface JbossType<T>jmx-namepublic 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>JbossTypepublic JbossType<T> removeSecurityDomain()
security-domain element
removeSecurityDomain in interface JbossType<T>JbossTypepublic java.lang.String getSecurityDomain()
security-domain element
getSecurityDomain in interface JbossType<T>security-domainpublic 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>JbossTypepublic JbossType<T> removeMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode element
removeMissingMethodPermissionsExcludedMode in interface JbossType<T>JbossTypepublic java.lang.Boolean isMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode element
isMissingMethodPermissionsExcludedMode in interface JbossType<T>missing-method-permissions-excluded-modepublic 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>JbossTypepublic JbossType<T> removeUnauthenticatedPrincipal()
unauthenticated-principal element
removeUnauthenticatedPrincipal in interface JbossType<T>JbossTypepublic java.lang.String getUnauthenticatedPrincipal()
unauthenticated-principal element
getUnauthenticatedPrincipal in interface JbossType<T>unauthenticated-principalpublic 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>JbossTypepublic JbossType<T> removeJndiBindingPolicy()
jndi-binding-policy element
removeJndiBindingPolicy in interface JbossType<T>JbossTypepublic java.lang.String getJndiBindingPolicy()
jndi-binding-policy element
getJndiBindingPolicy in interface JbossType<T>jndi-binding-policypublic 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>JbossTypepublic JbossType<T> removeJaccContextId()
jacc-context-id element
removeJaccContextId in interface JbossType<T>JbossTypepublic java.lang.String getJaccContextId()
jacc-context-id element
getJaccContextId in interface JbossType<T>jacc-context-idpublic JbossType<T> removeWebservices()
webservices element
removeWebservices in interface JbossType<T>JbossTypepublic WebservicesType<JbossType<T>> webservices()
webservices element will be created and returned.
Otherwise, the existing webservices element will be returned.
webservices in interface JbossType<T>webservicespublic JbossType<T> removeEnterpriseBeans()
enterprise-beans element
removeEnterpriseBeans in interface JbossType<T>JbossTypepublic 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-beanspublic JbossType<T> removeAssemblyDescriptor()
assembly-descriptor element
removeAssemblyDescriptor in interface JbossType<T>JbossTypepublic 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-descriptorpublic JbossType<T> removeResourceManagers()
resource-managers element
removeResourceManagers in interface JbossType<T>JbossTypepublic 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-managerspublic JbossType<T> setVersion(java.lang.String version)
version attribute
setVersion in interface JbossType<T>version - the value for the attribute version
JbossTypepublic JbossType<T> removeVersion()
version attribute
removeVersion in interface JbossType<T>JbossTypepublic java.lang.String getVersion()
version element
getVersion in interface JbossType<T>versionpublic JbossType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete attribute
setMetadataComplete in interface JbossType<T>metadataComplete - the value for the attribute metadata-complete
JbossTypepublic JbossType<T> removeMetadataComplete()
metadata-complete attribute
removeMetadataComplete in interface JbossType<T>JbossTypepublic 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 | |||||||||