|
||||||||||
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.ejbjar30.EjbJar30DescriptorImpl
public class EjbJar30DescriptorImpl
This deployment descriptor provides the functionalities as described in the ejb-jar_3_0.xsd specification
Example:
EjbJar30Descriptor descriptor = Descriptors.create(EjbJar30Descriptor.class);
Constructor Summary | |
---|---|
EjbJar30DescriptorImpl(java.lang.String descriptorName)
|
|
EjbJar30DescriptorImpl(java.lang.String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
Method Summary | |
---|---|
EjbJar30Descriptor |
addDefaultNamespaces()
|
EjbJar30Descriptor |
addNamespace(java.lang.String name,
java.lang.String value)
|
AssemblyDescriptorType<EjbJar30Descriptor> |
assemblyDescriptor()
If not already created, a new assembly-descriptor element will be created and returned. |
EnterpriseBeansType<EjbJar30Descriptor> |
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.lang.String |
getEjbClientJar()
Returns the ejb-client-jar element |
java.util.List<IconType<EjbJar30Descriptor>> |
getIconList()
Returns all icon elements |
java.util.List<java.lang.String> |
getNamespaces()
|
org.jboss.shrinkwrap.descriptor.spi.Node |
getRootNode()
|
java.lang.String |
getVersion()
Returns the version element |
IconType<EjbJar30Descriptor> |
icon()
Returns the icon element |
InterceptorsType<EjbJar30Descriptor> |
interceptors()
If not already created, a new interceptors element will be created and returned. |
java.lang.Boolean |
isMetadataComplete()
Returns the metadata-complete element |
RelationshipsType<EjbJar30Descriptor> |
relationships()
If not already created, a new relationships element will be created and returned. |
EjbJar30Descriptor |
removeAllDescription()
Removes the description element |
EjbJar30Descriptor |
removeAllDisplayName()
Removes the display-name element |
EjbJar30Descriptor |
removeAllIcon()
Removes all icon elements |
EjbJar30Descriptor |
removeAllNamespaces()
|
EjbJar30Descriptor |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
EjbJar30Descriptor |
removeEjbClientJar()
Removes the ejb-client-jar element |
EjbJar30Descriptor |
removeEnterpriseBeans()
Removes the enterprise-beans element |
EjbJar30Descriptor |
removeInterceptors()
Removes the interceptors element |
EjbJar30Descriptor |
removeMetadataComplete()
Removes the metadata-complete attribute |
EjbJar30Descriptor |
removeRelationships()
Removes the relationships element |
EjbJar30Descriptor |
removeVersion()
Removes the version attribute |
EjbJar30Descriptor |
setDescription(java.lang.String description)
Creates a new description element |
EjbJar30Descriptor |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbJar30Descriptor |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
EjbJar30Descriptor |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
EjbJar30Descriptor |
setEjbClientJar(java.lang.String ejbClientJar)
If not already created, a new ejb-client-jar element with the given value will be created. |
EjbJar30Descriptor |
setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute |
EjbJar30Descriptor |
setVersion(java.lang.String version)
Sets the version attribute |
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 EjbJar30DescriptorImpl(java.lang.String descriptorName)
public EjbJar30DescriptorImpl(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.NodeProvider
public EjbJar30Descriptor addDefaultNamespaces()
addDefaultNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar30Descriptor>
public EjbJar30Descriptor addNamespace(java.lang.String name, java.lang.String value)
addNamespace
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar30Descriptor>
public java.util.List<java.lang.String> getNamespaces()
getNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar30Descriptor>
public EjbJar30Descriptor removeAllNamespaces()
removeAllNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar30Descriptor>
public EjbJar30Descriptor removeEnterpriseBeans()
enterprise-beans
element
removeEnterpriseBeans
in interface EjbJar30Descriptor
EjbJar30Descriptor
public EnterpriseBeansType<EjbJar30Descriptor> enterpriseBeans()
enterprise-beans
element will be created and returned.
Otherwise, the existing enterprise-beans
element will be returned.
enterpriseBeans
in interface EjbJar30Descriptor
enterprise-beans
public EjbJar30Descriptor removeInterceptors()
interceptors
element
removeInterceptors
in interface EjbJar30Descriptor
EjbJar30Descriptor
public InterceptorsType<EjbJar30Descriptor> interceptors()
interceptors
element will be created and returned.
Otherwise, the existing interceptors
element will be returned.
interceptors
in interface EjbJar30Descriptor
interceptors
public EjbJar30Descriptor removeRelationships()
relationships
element
removeRelationships
in interface EjbJar30Descriptor
EjbJar30Descriptor
public RelationshipsType<EjbJar30Descriptor> relationships()
relationships
element will be created and returned.
Otherwise, the existing relationships
element will be returned.
relationships
in interface EjbJar30Descriptor
relationships
public EjbJar30Descriptor removeAssemblyDescriptor()
assembly-descriptor
element
removeAssemblyDescriptor
in interface EjbJar30Descriptor
EjbJar30Descriptor
public AssemblyDescriptorType<EjbJar30Descriptor> assemblyDescriptor()
assembly-descriptor
element will be created and returned.
Otherwise, the existing assembly-descriptor
element will be returned.
assemblyDescriptor
in interface EjbJar30Descriptor
assembly-descriptor
public EjbJar30Descriptor setEjbClientJar(java.lang.String ejbClientJar)
ejb-client-jar
element with the given value will be created.
Otherwise, the existing ejb-client-jar
element will be updated with the given value.
setEjbClientJar
in interface EjbJar30Descriptor
EjbJar30Descriptor
public EjbJar30Descriptor removeEjbClientJar()
ejb-client-jar
element
removeEjbClientJar
in interface EjbJar30Descriptor
EjbJar30Descriptor
public java.lang.String getEjbClientJar()
ejb-client-jar
element
getEjbClientJar
in interface EjbJar30Descriptor
ejb-client-jar
public EjbJar30Descriptor setVersion(java.lang.String version)
version
attribute
setVersion
in interface EjbJar30Descriptor
version
- the value for the attribute version
EjbJar30Descriptor
public EjbJar30Descriptor removeVersion()
version
attribute
removeVersion
in interface EjbJar30Descriptor
EjbJar30Descriptor
public java.lang.String getVersion()
version
element
getVersion
in interface EjbJar30Descriptor
version
public EjbJar30Descriptor setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete
attribute
setMetadataComplete
in interface EjbJar30Descriptor
metadataComplete
- the value for the attribute metadata-complete
EjbJar30Descriptor
public EjbJar30Descriptor removeMetadataComplete()
metadata-complete
attribute
removeMetadataComplete
in interface EjbJar30Descriptor
EjbJar30Descriptor
public java.lang.Boolean isMetadataComplete()
metadata-complete
element
isMetadataComplete
in interface EjbJar30Descriptor
metadata-complete
public EjbJar30Descriptor setDescription(java.lang.String description)
description
element
setDescription
in interface EjbJar30Descriptor
EjbJar30Descriptor
public EjbJar30Descriptor setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface EjbJar30Descriptor
list
- of description
objects
EjbJar30Descriptor
public EjbJar30Descriptor removeAllDescription()
description
element
removeAllDescription
in interface EjbJar30Descriptor
EjbJar30Descriptor
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface EjbJar30Descriptor
description
public EjbJar30Descriptor setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface EjbJar30Descriptor
EjbJar30Descriptor
public EjbJar30Descriptor setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface EjbJar30Descriptor
list
- of display-name
objects
EjbJar30Descriptor
public EjbJar30Descriptor removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface EjbJar30Descriptor
EjbJar30Descriptor
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface EjbJar30Descriptor
display-name
public EjbJar30Descriptor removeAllIcon()
icon
elements
removeAllIcon
in interface EjbJar30Descriptor
EjbJar30Descriptor
public IconType<EjbJar30Descriptor> icon()
icon
element
icon
in interface EjbJar30Descriptor
icon
public java.util.List<IconType<EjbJar30Descriptor>> getIconList()
icon
elements
getIconList
in interface EjbJar30Descriptor
icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |