|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EjbJarDescriptor
This deployment descriptor provides the functionalities as described in the specification
Example:
EjbJarDescriptor descriptor = Descriptors.create(EjbJarDescriptor.class);
Method Summary | |
---|---|
IconType<EjbJarDescriptor> |
createIcon()
Creates a new icon element |
EjbJarDescriptor |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
EjbJarDescriptor |
displayName(String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
EjbJarDescriptor |
ejbClientJar(String ejbClientJar)
Sets the ejb-client-jar element |
List<String> |
getAllDescription()
Returns all description elements |
List<String> |
getAllDisplayName()
Returns all display-name elements |
List<IconType<EjbJarDescriptor>> |
getAllIcon()
Returns all icon elements |
String |
getEjbClientJar()
Returns the ejb-client-jar element |
AssemblyDescriptorType<EjbJarDescriptor> |
getOrCreateAssemblyDescriptor()
If not already created, a new assembly-descriptor element with the given value will be created. |
EnterpriseBeansType<EjbJarDescriptor> |
getOrCreateEnterpriseBeans()
If not already created, a new enterprise-beans element with the given value will be created. |
IconType<EjbJarDescriptor> |
getOrCreateIcon()
If not already created, a new icon element will be created and returned. |
InterceptorsType<EjbJarDescriptor> |
getOrCreateInterceptors()
If not already created, a new interceptors element with the given value will be created. |
RelationshipsType<EjbJarDescriptor> |
getOrCreateRelationships()
If not already created, a new relationships element with the given value will be created. |
String |
getVersion()
Returns the version attribute |
Boolean |
isMetadataComplete()
Returns the metadata-complete attribute |
EjbJarDescriptor |
metadataComplete(Boolean metadataComplete)
Sets the metadata-complete attribute |
EjbJarDescriptor |
removeAllDescription()
Removes the description element |
EjbJarDescriptor |
removeAllDisplayName()
Removes the display-name element |
EjbJarDescriptor |
removeAllIcon()
Removes all icon elements |
EjbJarDescriptor |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
EjbJarDescriptor |
removeEjbClientJar()
Removes the ejb-client-jar element |
EjbJarDescriptor |
removeEnterpriseBeans()
Removes the enterprise-beans element |
EjbJarDescriptor |
removeInterceptors()
Removes the interceptors element |
EjbJarDescriptor |
removeMetadataComplete()
Removes the metadata-complete attribute |
EjbJarDescriptor |
removeRelationships()
Removes the relationships element |
EjbJarDescriptor |
removeVersion()
Removes the version attribute |
EjbJarDescriptor |
version(String version)
Sets the version attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace |
---|
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces |
Method Detail |
---|
EjbJarDescriptor description(String... values)
description
elements,
a new description
element
values
- list of description
objects
EjbJarDescriptor
List<String> getAllDescription()
description
elements
description
EjbJarDescriptor removeAllDescription()
description
element
EjbJarDescriptor
EjbJarDescriptor displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
EjbJarDescriptor
List<String> getAllDisplayName()
display-name
elements
display-name
EjbJarDescriptor removeAllDisplayName()
display-name
element
EjbJarDescriptor
IconType<EjbJarDescriptor> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<EjbJarDescriptor> createIcon()
icon
element
IconType
List<IconType<EjbJarDescriptor>> getAllIcon()
icon
elements
icon
EjbJarDescriptor removeAllIcon()
icon
elements
IconType
EnterpriseBeansType<EjbJarDescriptor> getOrCreateEnterpriseBeans()
enterprise-beans
element with the given value will be created.
Otherwise, the existing enterprise-beans
element will be returned.
EnterpriseBeansType
EjbJarDescriptor removeEnterpriseBeans()
enterprise-beans
element
EjbJarDescriptor
InterceptorsType<EjbJarDescriptor> getOrCreateInterceptors()
interceptors
element with the given value will be created.
Otherwise, the existing interceptors
element will be returned.
InterceptorsType
EjbJarDescriptor removeInterceptors()
interceptors
element
EjbJarDescriptor
RelationshipsType<EjbJarDescriptor> getOrCreateRelationships()
relationships
element with the given value will be created.
Otherwise, the existing relationships
element will be returned.
RelationshipsType
EjbJarDescriptor removeRelationships()
relationships
element
EjbJarDescriptor
AssemblyDescriptorType<EjbJarDescriptor> getOrCreateAssemblyDescriptor()
assembly-descriptor
element with the given value will be created.
Otherwise, the existing assembly-descriptor
element will be returned.
AssemblyDescriptorType
EjbJarDescriptor removeAssemblyDescriptor()
assembly-descriptor
element
EjbJarDescriptor
EjbJarDescriptor ejbClientJar(String ejbClientJar)
ejb-client-jar
element
ejbClientJar
- the value for the element ejb-client-jar
EjbJarDescriptor
String getEjbClientJar()
ejb-client-jar
element
ejb-client-jar
EjbJarDescriptor removeEjbClientJar()
ejb-client-jar
element
EjbJarDescriptor
EjbJarDescriptor version(String version)
version
attribute
version
- the value for the attribute version
EjbJarDescriptor
String getVersion()
version
attribute
version
EjbJarDescriptor removeVersion()
version
attribute
EjbJarDescriptor
EjbJarDescriptor metadataComplete(Boolean metadataComplete)
metadata-complete
attribute
metadataComplete
- the value for the attribute metadata-complete
EjbJarDescriptor
Boolean isMetadataComplete()
metadata-complete
attribute
metadata-complete
EjbJarDescriptor removeMetadataComplete()
metadata-complete
attribute
EjbJarDescriptor
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |