Class EJBJar
- java.lang.Object
-
- org.apache.openejb.jee.was.v6.common.DescriptionGroup
-
- org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
-
- org.apache.openejb.jee.was.v6.ejb.EJBJar
-
public class EJBJar extends CompatibilityDescriptionGroup
The root element of the EJB deployment descriptor. It contains an optional description of the ejb-jar file; optional display name; optional small icon file name; optional large icon file name; mandatory structural information about all included enterprise beans; a descriptor for container managed relationships, if any; an optional application-assembly descriptor; and an optional name of an ejb-client-jar file for the ejb-jar. Java class for EJBJar complex type. The following schema fragment specifies the expected content contained within this class.<complexType name="EJBJar"> <complexContent> <extension base="{common.xmi}CompatibilityDescriptionGroup"> <choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="assemblyDescriptor" type="{ejb.xmi}AssemblyDescriptor"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="enterpriseBeans" type="{ejb.xmi}EnterpriseBean"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="relationshipList" type="{ejb.xmi}Relationships"/> </choice> </choice> <attribute name="ejbClientJar" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AssemblyDescriptor>assemblyDescriptorsprotected StringejbClientJarprotected StringejbSpecsVersionprotected List<EnterpriseBean>enterpriseBeansprotected List<Relationships>relationshipList-
Fields inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
description, displayName, largeIcon, smallIcon
-
Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version
-
-
Constructor Summary
Constructors Constructor Description EJBJar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AssemblyDescriptor>getAssemblyDescriptors()Gets the value of the assemblyDescriptors property.StringgetEjbClientJar()Gets the value of the ejbClientJar property.StringgetEjbSpecsVersion()Gets the value of the ejbSpecsVersion property.List<EnterpriseBean>getEnterpriseBeans()Gets the value of the enterpriseBeans property.List<Relationships>getRelationshipList()Gets the value of the relationshipList property.voidsetEjbClientJar(String value)Sets the value of the ejbClientJar property.voidsetEjbSpecsVersion(String value)Sets the value of the ejbSpecsVersion property.-
Methods inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcon
-
Methods inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
getDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
-
-
-
-
Field Detail
-
assemblyDescriptors
protected List<AssemblyDescriptor> assemblyDescriptors
-
enterpriseBeans
protected List<EnterpriseBean> enterpriseBeans
-
relationshipList
protected List<Relationships> relationshipList
-
ejbClientJar
protected String ejbClientJar
-
ejbSpecsVersion
protected String ejbSpecsVersion
-
-
Method Detail
-
getAssemblyDescriptors
public List<AssemblyDescriptor> getAssemblyDescriptors()
Gets the value of the assemblyDescriptors property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the assemblyDescriptors property. For example, to add a new item, do as follows:getAssemblyDescriptors().add(newItem);
Objects of the following type(s) are allowed in the listAssemblyDescriptor
-
getEnterpriseBeans
public List<EnterpriseBean> getEnterpriseBeans()
Gets the value of the enterpriseBeans property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the enterpriseBeans property. For example, to add a new item, do as follows:getEnterpriseBeans().add(newItem);
Objects of the following type(s) are allowed in the listEnterpriseBean
-
getRelationshipList
public List<Relationships> getRelationshipList()
Gets the value of the relationshipList property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the relationshipList property. For example, to add a new item, do as follows:getRelationshipList().add(newItem);
Objects of the following type(s) are allowed in the listRelationships
-
getEjbClientJar
public String getEjbClientJar()
Gets the value of the ejbClientJar property.- Returns:
- possible object is
String
-
setEjbClientJar
public void setEjbClientJar(String value)
Sets the value of the ejbClientJar property.- Parameters:
value- allowed object isString
-
getEjbSpecsVersion
public String getEjbSpecsVersion()
Gets the value of the ejbSpecsVersion property.- Returns:
- possible object is
String
-
-