org.apache.openejb.jee.oejb2
Class MessageDrivenBeanType

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.MessageDrivenBeanType
All Implemented Interfaces:
EnterpriseBean

public class MessageDrivenBeanType
extends Object
implements EnterpriseBean

Java class for message-driven-beanType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="message-driven-beanType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}resource-adapter"/>
         <element name="activation-config" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}activation-configType" minOccurs="0"/>
         <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry
           
protected  ActivationConfigType activationConfig
           
protected  List<EjbLocalRefType> ejbLocalRef
           
protected  String ejbName
           
protected  List<EjbRefType> ejbRef
           
protected  String id
           
protected  List<PersistenceContextRefType> persistenceContextRef
           
protected  List<PersistenceUnitRefType> persistenceUnitRef
           
protected  ResourceLocatorType resourceAdapter
           
protected  List<ResourceEnvRefType> resourceEnvRef
           
protected  List<ResourceRefType> resourceRef
           
protected  List<ServiceRefType> serviceRef
           
 
Constructor Summary
MessageDrivenBeanType()
           
 
Method Summary
 List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
          Gets the value of the abstractNamingEntry property.
 ActivationConfigType getActivationConfig()
          Gets the value of the activationConfig property.
 List<EjbLocalRefType> getEjbLocalRef()
          Gets the value of the ejbLocalRef property.
 String getEjbName()
          Gets the value of the ejbName property.
 List<EjbRefType> getEjbRef()
          Gets the value of the ejbRef property.
 String getId()
          Gets the value of the id property.
 List<Jndi> getJndi()
           
 List<String> getJndiName()
           
 List<String> getLocalJndiName()
           
 List<PersistenceContextRefType> getPersistenceContextRef()
           
 List<PersistenceUnitRefType> getPersistenceUnitRef()
           
 ResourceLocatorType getResourceAdapter()
          Gets the value of the resourceAdapter property.
 List<ResourceEnvRefType> getResourceEnvRef()
          Gets the value of the resourceEnvRef property.
 List<ResourceRefType> getResourceRef()
          Gets the value of the resourceRef property.
 List<ServiceRefType> getServiceRef()
          Gets the value of the serviceRef property.
 void setActivationConfig(ActivationConfigType value)
          Sets the value of the activationConfig property.
 void setEjbName(String value)
          Sets the value of the ejbName property.
 void setId(String value)
          Sets the value of the id property.
 void setResourceAdapter(ResourceLocatorType value)
          Sets the value of the resourceAdapter property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbName

protected String ejbName

resourceAdapter

protected ResourceLocatorType resourceAdapter

activationConfig

protected ActivationConfigType activationConfig

abstractNamingEntry

protected List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry

persistenceContextRef

protected List<PersistenceContextRefType> persistenceContextRef

persistenceUnitRef

protected List<PersistenceUnitRefType> persistenceUnitRef

ejbRef

protected List<EjbRefType> ejbRef

ejbLocalRef

protected List<EjbLocalRefType> ejbLocalRef

serviceRef

protected List<ServiceRefType> serviceRef

resourceRef

protected List<ResourceRefType> resourceRef

resourceEnvRef

protected List<ResourceEnvRefType> resourceEnvRef

id

protected String id
Constructor Detail

MessageDrivenBeanType

public MessageDrivenBeanType()
Method Detail

getJndiName

public List<String> getJndiName()
Specified by:
getJndiName in interface EnterpriseBean

getLocalJndiName

public List<String> getLocalJndiName()
Specified by:
getLocalJndiName in interface EnterpriseBean

getJndi

public List<Jndi> getJndi()
Specified by:
getJndi in interface EnterpriseBean

getEjbName

public String getEjbName()
Gets the value of the ejbName property.

Specified by:
getEjbName in interface EnterpriseBean
Returns:
possible object is String

setEjbName

public void setEjbName(String value)
Sets the value of the ejbName property.

Specified by:
setEjbName in interface EnterpriseBean
Parameters:
value - allowed object is String

getResourceAdapter

public ResourceLocatorType getResourceAdapter()
Gets the value of the resourceAdapter property.

Returns:
possible object is ResourceLocatorType

setResourceAdapter

public void setResourceAdapter(ResourceLocatorType value)
Sets the value of the resourceAdapter property.

Parameters:
value - allowed object is ResourceLocatorType

getActivationConfig

public ActivationConfigType getActivationConfig()
Gets the value of the activationConfig property.

Returns:
possible object is ActivationConfigType

setActivationConfig

public void setActivationConfig(ActivationConfigType value)
Sets the value of the activationConfig property.

Parameters:
value - allowed object is ActivationConfigType

getAbstractNamingEntry

public List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
Gets the value of the abstractNamingEntry 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 abstractNamingEntry property.

For example, to add a new item, do as follows:

    getAbstractNamingEntry().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<AbstractNamingEntryType> JAXBElement<PersistenceContextRefType> JAXBElement<PersistenceUnitRefType> JAXBElement<GbeanRefType>

Specified by:
getAbstractNamingEntry in interface EnterpriseBean

getPersistenceContextRef

public List<PersistenceContextRefType> getPersistenceContextRef()
Specified by:
getPersistenceContextRef in interface EnterpriseBean

getPersistenceUnitRef

public List<PersistenceUnitRefType> getPersistenceUnitRef()
Specified by:
getPersistenceUnitRef in interface EnterpriseBean

getEjbRef

public List<EjbRefType> getEjbRef()
Gets the value of the ejbRef 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 ejbRef property.

For example, to add a new item, do as follows:

    getEjbRef().add(newItem);
 

Objects of the following type(s) are allowed in the list EjbRefType

Specified by:
getEjbRef in interface EnterpriseBean

getEjbLocalRef

public List<EjbLocalRefType> getEjbLocalRef()
Gets the value of the ejbLocalRef 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 ejbLocalRef property.

For example, to add a new item, do as follows:

    getEjbLocalRef().add(newItem);
 

Objects of the following type(s) are allowed in the list EjbLocalRefType

Specified by:
getEjbLocalRef in interface EnterpriseBean

getServiceRef

public List<ServiceRefType> getServiceRef()
Gets the value of the serviceRef 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 serviceRef property.

For example, to add a new item, do as follows:

    getServiceRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ServiceRefType

Specified by:
getServiceRef in interface EnterpriseBean

getResourceRef

public List<ResourceRefType> getResourceRef()
Gets the value of the resourceRef 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 resourceRef property.

For example, to add a new item, do as follows:

    getResourceRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceRefType

Specified by:
getResourceRef in interface EnterpriseBean

getResourceEnvRef

public List<ResourceEnvRefType> getResourceEnvRef()
Gets the value of the resourceEnvRef 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 resourceEnvRef property.

For example, to add a new item, do as follows:

    getResourceEnvRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceEnvRefType

Specified by:
getResourceEnvRef in interface EnterpriseBean

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


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