Class 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>
     
    • Constructor Detail

      • EJBJar

        public EJBJar()
    • 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 a set method 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 list AssemblyDescriptor
      • 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 a set method 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 list EnterpriseBean
      • 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 a set method 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 list Relationships
      • 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 is String
      • getEjbSpecsVersion

        public String getEjbSpecsVersion()
        Gets the value of the ejbSpecsVersion property.
        Returns:
        possible object is String
      • setEjbSpecsVersion

        public void setEjbSpecsVersion​(String value)
        Sets the value of the ejbSpecsVersion property.
        Parameters:
        value - allowed object is String