org.apache.openejb.jee.was.v6.common
Class JNDIEnvRefsGroup

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.common.DescriptionGroup
      extended by org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
          extended by org.apache.openejb.jee.was.v6.common.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>
 

Field Summary
protected  List<EJBLocalRef> ejbLocalRefs
           
protected  List<EjbRef> ejbRefs
           
protected  List<EnvEntry> environmentProperties
           
protected  List<MessageDestinationRef> messageDestinationRefs
           
protected  List<ResourceEnvRef> resourceEnvRefs
           
protected  List<ResourceRef> resourceRefs
           
protected  List<ServiceRef> serviceRefs
           
 
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
JNDIEnvRefsGroup()
           
 
Method Summary
 List<EJBLocalRef> getEjbLocalRefs()
          Gets the value of the ejbLocalRefs property.
 List<EjbRef> getEjbRefs()
          Gets the value of the ejbRefs property.
 List<EnvEntry> getEnvironmentProperties()
          Gets the value of the environmentProperties property.
 List<MessageDestinationRef> getMessageDestinationRefs()
          Gets the value of the messageDestinationRefs property.
 List<ResourceEnvRef> getResourceEnvRefs()
          Gets the value of the resourceEnvRefs property.
 List<ResourceRef> getResourceRefs()
          Gets the value of the resourceRefs property.
 List<ServiceRef> getServiceRefs()
          Gets the value of the serviceRefs 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

environmentProperties

protected List<EnvEntry> environmentProperties

resourceRefs

protected List<ResourceRef> resourceRefs

ejbRefs

protected List<EjbRef> ejbRefs

resourceEnvRefs

protected List<ResourceEnvRef> resourceEnvRefs

ejbLocalRefs

protected List<EJBLocalRef> ejbLocalRefs

messageDestinationRefs

protected List<MessageDestinationRef> messageDestinationRefs

serviceRefs

protected List<ServiceRef> serviceRefs
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



Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.