|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EjbJarType<T>
This interface defines the contract for the ejb-jarType
xsd type
Original Documentation:
The ejb-jarType defines the root element of the EJB
deployment descriptor. It contains
- an optional description of the ejb-jar file
- an optional display name
- an optional icon that contains a small and a large
icon file name
- an optional module name. Only applicable to
stand-alone ejb-jars or ejb-jars packaged in an ear.
Ignored if specified for an ejb-jar.xml within a .war.
In that case, standard .war module-name rules apply.
- structural information about all included
enterprise beans that is not specified through
annotations
- structural information about interceptor classes
- a descriptor for container managed relationships,
if any.
- an optional application-assembly descriptor
- an optional name of an ejb-client-jar file for the
ejb-jar.
Method Summary | |
---|---|
AssemblyDescriptorType<EjbJarType<T>> |
assemblyDescriptor()
If not already created, a new assembly-descriptor element will be created and returned. |
EnterpriseBeansType<EjbJarType<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.lang.String |
getEjbClientJar()
Returns the ejb-client-jar element |
java.util.List<IconType<EjbJarType<T>>> |
getIconList()
Returns all icon elements |
java.lang.String |
getModuleName()
Returns the module-name element |
java.lang.String |
getVersion()
Returns the version element |
IconType<EjbJarType<T>> |
icon()
Returns the icon element |
InterceptorsType<EjbJarType<T>> |
interceptors()
If not already created, a new interceptors element will be created and returned. |
java.lang.Boolean |
isMetadataComplete()
Returns the metadata-complete element |
RelationshipsType<EjbJarType<T>> |
relationships()
If not already created, a new relationships element will be created and returned. |
EjbJarType<T> |
removeAllDescription()
Removes the description element |
EjbJarType<T> |
removeAllDisplayName()
Removes the display-name element |
EjbJarType<T> |
removeAllIcon()
Removes all icon elements |
EjbJarType<T> |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
EjbJarType<T> |
removeEjbClientJar()
Removes the ejb-client-jar element |
EjbJarType<T> |
removeEnterpriseBeans()
Removes the enterprise-beans element |
EjbJarType<T> |
removeInterceptors()
Removes the interceptors element |
EjbJarType<T> |
removeMetadataComplete()
Removes the metadata-complete attribute |
EjbJarType<T> |
removeModuleName()
Removes the module-name element |
EjbJarType<T> |
removeRelationships()
Removes the relationships element |
EjbJarType<T> |
removeVersion()
Removes the version attribute |
EjbJarType<T> |
setDescription(java.lang.String description)
Creates a new description element |
EjbJarType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbJarType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
EjbJarType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
EjbJarType<T> |
setEjbClientJar(java.lang.String ejbClientJar)
If not already created, a new ejb-client-jar element with the given value will be created. |
EjbJarType<T> |
setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute |
EjbJarType<T> |
setModuleName(java.lang.String moduleName)
If not already created, a new module-name element with the given value will be created. |
EjbJarType<T> |
setVersion(java.lang.String version)
Sets the version attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EjbJarType<T> setDescription(java.lang.String description)
description
element
EjbJarType
EjbJarType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
EjbJarType
EjbJarType<T> removeAllDescription()
description
element
EjbJarType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
EjbJarType<T> setDisplayName(java.lang.String displayName)
display-name
element
EjbJarType
EjbJarType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
list
- of display-name
objects
EjbJarType
EjbJarType<T> removeAllDisplayName()
display-name
element
EjbJarType
java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
display-name
EjbJarType<T> removeAllIcon()
icon
elements
EjbJarType
IconType<EjbJarType<T>> icon()
icon
element
icon
java.util.List<IconType<EjbJarType<T>>> getIconList()
icon
elements
icon
EjbJarType<T> setModuleName(java.lang.String moduleName)
module-name
element with the given value will be created.
Otherwise, the existing module-name
element will be updated with the given value.
EjbJarType
EjbJarType<T> removeModuleName()
module-name
element
EjbJarType
java.lang.String getModuleName()
module-name
element
module-name
EjbJarType<T> removeEnterpriseBeans()
enterprise-beans
element
EjbJarType
EnterpriseBeansType<EjbJarType<T>> enterpriseBeans()
enterprise-beans
element will be created and returned.
Otherwise, the existing enterprise-beans
element will be returned.
enterprise-beans
EjbJarType<T> removeInterceptors()
interceptors
element
EjbJarType
InterceptorsType<EjbJarType<T>> interceptors()
interceptors
element will be created and returned.
Otherwise, the existing interceptors
element will be returned.
interceptors
EjbJarType<T> removeRelationships()
relationships
element
EjbJarType
RelationshipsType<EjbJarType<T>> relationships()
relationships
element will be created and returned.
Otherwise, the existing relationships
element will be returned.
relationships
EjbJarType<T> removeAssemblyDescriptor()
assembly-descriptor
element
EjbJarType
AssemblyDescriptorType<EjbJarType<T>> assemblyDescriptor()
assembly-descriptor
element will be created and returned.
Otherwise, the existing assembly-descriptor
element will be returned.
assembly-descriptor
EjbJarType<T> 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.
EjbJarType
EjbJarType<T> removeEjbClientJar()
ejb-client-jar
element
EjbJarType
java.lang.String getEjbClientJar()
ejb-client-jar
element
ejb-client-jar
EjbJarType<T> setVersion(java.lang.String version)
version
attribute
version
- the value for the attribute version
EjbJarType
EjbJarType<T> removeVersion()
version
attribute
EjbJarType
java.lang.String getVersion()
version
element
version
EjbJarType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete
attribute
metadataComplete
- the value for the attribute metadata-complete
EjbJarType
EjbJarType<T> removeMetadataComplete()
metadata-complete
attribute
EjbJarType
java.lang.Boolean isMetadataComplete()
metadata-complete
element
metadata-complete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |