Class JNDIEnvRefsGroup

  • Direct Known Subclasses:
    EnterpriseBean

    public class JNDIEnvRefsGroup
    extends CompatibilityDescriptionGroup
    Since:
    J2EE1.4 This group keeps the usage of the contained JNDI environment reference elements consistent across J2EE deployment descriptors. Java class for JNDIEnvRefsGroup complex type. The following schema fragment specifies the expected content contained within this class.
     <complexType name="JNDIEnvRefsGroup">
       <complexContent>
         <extension base="{common.xmi}CompatibilityDescriptionGroup">
           <choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="environmentProperties" type="{common.xmi}EnvEntry"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="resourceRefs" type="{common.xmi}ResourceRef"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="ejbRefs" type="{common.xmi}EjbRef"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="resourceEnvRefs" type="{common.xmi}ResourceEnvRef"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="ejbLocalRefs" type="{common.xmi}EJBLocalRef"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="messageDestinationRefs" type="{common.xmi}MessageDestinationRef"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="serviceRefs" type="{webservice_client.xmi}ServiceRef"/>
             </choice>
           </choice>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • JNDIEnvRefsGroup

        public JNDIEnvRefsGroup()
    • Method Detail

      • getEnvironmentProperties

        public List<EnvEntry> getEnvironmentProperties()
        Gets the value of the environmentProperties 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 environmentProperties property. For example, to add a new item, do as follows:
         getEnvironmentProperties().add(newItem);
         
        Objects of the following type(s) are allowed in the list EnvEntry
      • getResourceRefs

        public List<ResourceRef> getResourceRefs()
        Gets the value of the resourceRefs 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 resourceRefs property. For example, to add a new item, do as follows:
         getResourceRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list ResourceRef
      • getEjbRefs

        public List<EjbRef> getEjbRefs()
        Gets the value of the ejbRefs 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 ejbRefs property. For example, to add a new item, do as follows:
         getEjbRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list EjbRef
      • getResourceEnvRefs

        public List<ResourceEnvRef> getResourceEnvRefs()
        Gets the value of the resourceEnvRefs 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 resourceEnvRefs property. For example, to add a new item, do as follows:
         getResourceEnvRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list ResourceEnvRef
      • getEjbLocalRefs

        public List<EJBLocalRef> getEjbLocalRefs()
        Gets the value of the ejbLocalRefs 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 ejbLocalRefs property. For example, to add a new item, do as follows:
         getEjbLocalRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list EJBLocalRef
      • getMessageDestinationRefs

        public List<MessageDestinationRef> getMessageDestinationRefs()
        Gets the value of the messageDestinationRefs 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 messageDestinationRefs property. For example, to add a new item, do as follows:
         getMessageDestinationRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list MessageDestinationRef
      • getServiceRefs

        public List<ServiceRef> getServiceRefs()
        Gets the value of the serviceRefs 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 serviceRefs property. For example, to add a new item, do as follows:
         getServiceRefs().add(newItem);
         
        Objects of the following type(s) are allowed in the list ServiceRef