|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase
org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase
org.jboss.shrinkwrap.descriptor.impl.jboss51.Jboss51DescriptorImpl
public class Jboss51DescriptorImpl
This deployment descriptor provides the functionalities as described in the jboss_5_1.xsd specification
Example:
Jboss51Descriptor descriptor = Descriptors.create(Jboss51Descriptor.class);
| Constructor Summary | |
|---|---|
Jboss51DescriptorImpl(java.lang.String descriptorName)
|
|
Jboss51DescriptorImpl(java.lang.String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
| Method Summary | |
|---|---|
Jboss51Descriptor |
addDefaultNamespaces()
|
Jboss51Descriptor |
addNamespace(java.lang.String name,
java.lang.String value)
|
AssemblyDescriptorType<Jboss51Descriptor> |
assemblyDescriptor()
If not already created, a new assembly-descriptor element will be created and returned. |
EnterpriseBeansType<Jboss51Descriptor> |
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<Jboss51Descriptor>> |
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.util.List<java.lang.String> |
getNamespaces()
|
org.jboss.shrinkwrap.descriptor.spi.Node |
getRootNode()
|
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<Jboss51Descriptor> |
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<Jboss51Descriptor> |
loaderRepository()
If not already created, a new loader-repository element will be created and returned. |
Jboss51Descriptor |
removeAllDescription()
Removes the description element |
Jboss51Descriptor |
removeAllDisplayName()
Removes the display-name element |
Jboss51Descriptor |
removeAllIcon()
Removes all icon elements |
Jboss51Descriptor |
removeAllNamespaces()
|
Jboss51Descriptor |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
Jboss51Descriptor |
removeEnterpriseBeans()
Removes the enterprise-beans element |
Jboss51Descriptor |
removeJaccContextId()
Removes the jacc-context-id element |
Jboss51Descriptor |
removeJmxName()
Removes the jmx-name element |
Jboss51Descriptor |
removeJndiBindingPolicy()
Removes the jndi-binding-policy element |
Jboss51Descriptor |
removeLoaderRepository()
Removes the loader-repository element |
Jboss51Descriptor |
removeMetadataComplete()
Removes the metadata-complete attribute |
Jboss51Descriptor |
removeMissingMethodPermissionsExcludedMode()
Removes the missing-method-permissions-excluded-mode element |
Jboss51Descriptor |
removeResourceManagers()
Removes the resource-managers element |
Jboss51Descriptor |
removeSecurityDomain()
Removes the security-domain element |
Jboss51Descriptor |
removeUnauthenticatedPrincipal()
Removes the unauthenticated-principal element |
Jboss51Descriptor |
removeVersion()
Removes the version attribute |
Jboss51Descriptor |
removeWebservices()
Removes the webservices element |
ResourceManagersType<Jboss51Descriptor> |
resourceManagers()
If not already created, a new resource-managers element will be created and returned. |
Jboss51Descriptor |
setDescription(java.lang.String description)
Creates a new description element |
Jboss51Descriptor |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
Jboss51Descriptor |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
Jboss51Descriptor |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
Jboss51Descriptor |
setJaccContextId(java.lang.String jaccContextId)
If not already created, a new jacc-context-id element with the given value will be created. |
Jboss51Descriptor |
setJmxName(java.lang.String jmxName)
If not already created, a new jmx-name element with the given value will be created. |
Jboss51Descriptor |
setJndiBindingPolicy(java.lang.String jndiBindingPolicy)
If not already created, a new jndi-binding-policy element with the given value will be created. |
Jboss51Descriptor |
setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute |
Jboss51Descriptor |
setMissingMethodPermissionsExcludedMode(java.lang.Boolean missingMethodPermissionsExcludedMode)
If not already created, a new missing-method-permissions-excluded-mode element with the given value will be created. |
Jboss51Descriptor |
setSecurityDomain(java.lang.String securityDomain)
If not already created, a new security-domain element with the given value will be created. |
Jboss51Descriptor |
setUnauthenticatedPrincipal(java.lang.String unauthenticatedPrincipal)
If not already created, a new unauthenticated-principal element with the given value will be created. |
Jboss51Descriptor |
setVersion(java.lang.String version)
Sets the version attribute |
WebservicesType<Jboss51Descriptor> |
webservices()
If not already created, a new webservices element will be created and returned. |
| Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase |
|---|
exportAsString, exportTo |
| Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase |
|---|
getDescriptorName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
|---|
exportAsString, exportTo, getDescriptorName |
| Constructor Detail |
|---|
public Jboss51DescriptorImpl(java.lang.String descriptorName)
public Jboss51DescriptorImpl(java.lang.String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
| Method Detail |
|---|
public org.jboss.shrinkwrap.descriptor.spi.Node getRootNode()
getRootNode in interface org.jboss.shrinkwrap.descriptor.spi.NodeProviderpublic Jboss51Descriptor addDefaultNamespaces()
addDefaultNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Jboss51Descriptor>
public Jboss51Descriptor addNamespace(java.lang.String name,
java.lang.String value)
addNamespace in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Jboss51Descriptor>public java.util.List<java.lang.String> getNamespaces()
getNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Jboss51Descriptor>public Jboss51Descriptor removeAllNamespaces()
removeAllNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Jboss51Descriptor>public Jboss51Descriptor removeLoaderRepository()
loader-repository element
removeLoaderRepository in interface Jboss51DescriptorJboss51Descriptorpublic LoaderRepositoryType<Jboss51Descriptor> loaderRepository()
loader-repository element will be created and returned.
Otherwise, the existing loader-repository element will be returned.
loaderRepository in interface Jboss51Descriptorloader-repositorypublic Jboss51Descriptor 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 Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor removeJmxName()
jmx-name element
removeJmxName in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.String getJmxName()
jmx-name element
getJmxName in interface Jboss51Descriptorjmx-namepublic Jboss51Descriptor 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 Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor removeSecurityDomain()
security-domain element
removeSecurityDomain in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.String getSecurityDomain()
security-domain element
getSecurityDomain in interface Jboss51Descriptorsecurity-domainpublic Jboss51Descriptor 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 Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor removeMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode element
removeMissingMethodPermissionsExcludedMode in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.Boolean isMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode element
isMissingMethodPermissionsExcludedMode in interface Jboss51Descriptormissing-method-permissions-excluded-modepublic Jboss51Descriptor 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 Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor removeUnauthenticatedPrincipal()
unauthenticated-principal element
removeUnauthenticatedPrincipal in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.String getUnauthenticatedPrincipal()
unauthenticated-principal element
getUnauthenticatedPrincipal in interface Jboss51Descriptorunauthenticated-principalpublic Jboss51Descriptor 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 Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor removeJndiBindingPolicy()
jndi-binding-policy element
removeJndiBindingPolicy in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.String getJndiBindingPolicy()
jndi-binding-policy element
getJndiBindingPolicy in interface Jboss51Descriptorjndi-binding-policypublic Jboss51Descriptor 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 Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor removeJaccContextId()
jacc-context-id element
removeJaccContextId in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.String getJaccContextId()
jacc-context-id element
getJaccContextId in interface Jboss51Descriptorjacc-context-idpublic Jboss51Descriptor removeWebservices()
webservices element
removeWebservices in interface Jboss51DescriptorJboss51Descriptorpublic WebservicesType<Jboss51Descriptor> webservices()
webservices element will be created and returned.
Otherwise, the existing webservices element will be returned.
webservices in interface Jboss51Descriptorwebservicespublic Jboss51Descriptor removeEnterpriseBeans()
enterprise-beans element
removeEnterpriseBeans in interface Jboss51DescriptorJboss51Descriptorpublic EnterpriseBeansType<Jboss51Descriptor> enterpriseBeans()
enterprise-beans element will be created and returned.
Otherwise, the existing enterprise-beans element will be returned.
enterpriseBeans in interface Jboss51Descriptorenterprise-beanspublic Jboss51Descriptor removeAssemblyDescriptor()
assembly-descriptor element
removeAssemblyDescriptor in interface Jboss51DescriptorJboss51Descriptorpublic AssemblyDescriptorType<Jboss51Descriptor> assemblyDescriptor()
assembly-descriptor element will be created and returned.
Otherwise, the existing assembly-descriptor element will be returned.
assemblyDescriptor in interface Jboss51Descriptorassembly-descriptorpublic Jboss51Descriptor removeResourceManagers()
resource-managers element
removeResourceManagers in interface Jboss51DescriptorJboss51Descriptorpublic ResourceManagersType<Jboss51Descriptor> resourceManagers()
resource-managers element will be created and returned.
Otherwise, the existing resource-managers element will be returned.
resourceManagers in interface Jboss51Descriptorresource-managerspublic Jboss51Descriptor setVersion(java.lang.String version)
version attribute
setVersion in interface Jboss51Descriptorversion - the value for the attribute version
Jboss51Descriptorpublic Jboss51Descriptor removeVersion()
version attribute
removeVersion in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.String getVersion()
version element
getVersion in interface Jboss51Descriptorversionpublic Jboss51Descriptor setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete attribute
setMetadataComplete in interface Jboss51DescriptormetadataComplete - the value for the attribute metadata-complete
Jboss51Descriptorpublic Jboss51Descriptor removeMetadataComplete()
metadata-complete attribute
removeMetadataComplete in interface Jboss51DescriptorJboss51Descriptorpublic java.lang.Boolean isMetadataComplete()
metadata-complete element
isMetadataComplete in interface Jboss51Descriptormetadata-completepublic Jboss51Descriptor setDescription(java.lang.String description)
description element
setDescription in interface Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface Jboss51Descriptorlist - of description objects
Jboss51Descriptorpublic Jboss51Descriptor removeAllDescription()
description element
removeAllDescription in interface Jboss51DescriptorJboss51Descriptorpublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface Jboss51Descriptordescriptionpublic Jboss51Descriptor setDisplayName(java.lang.String displayName)
display-name element
setDisplayName in interface Jboss51DescriptorJboss51Descriptorpublic Jboss51Descriptor setDisplayNameList(java.lang.String... values)
display-name elements,
a new display-name element
setDisplayNameList in interface Jboss51Descriptorlist - of display-name objects
Jboss51Descriptorpublic Jboss51Descriptor removeAllDisplayName()
display-name element
removeAllDisplayName in interface Jboss51DescriptorJboss51Descriptorpublic java.util.List<java.lang.String> getDisplayNameList()
display-name elements
getDisplayNameList in interface Jboss51Descriptordisplay-namepublic Jboss51Descriptor removeAllIcon()
icon elements
removeAllIcon in interface Jboss51DescriptorJboss51Descriptorpublic IconType<Jboss51Descriptor> icon()
icon element
icon in interface Jboss51Descriptoriconpublic java.util.List<IconType<Jboss51Descriptor>> getIconList()
icon elements
getIconList in interface Jboss51Descriptoricon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||