Package org.apache.openejb.jee.oejb2
Class MessageDrivenBeanType
- java.lang.Object
-
- 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://tomee.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
Fields Modifier and Type Field Description protected List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>>abstractNamingEntryprotected ActivationConfigTypeactivationConfigprotected List<EjbLocalRefType>ejbLocalRefprotected StringejbNameprotected List<EjbRefType>ejbRefprotected Stringidprotected List<PersistenceContextRefType>persistenceContextRefprotected List<PersistenceUnitRefType>persistenceUnitRefprotected Propertiespropertiesprotected ResourceLocatorTyperesourceAdapterprotected List<ResourceEnvRefType>resourceEnvRefprotected List<ResourceRefType>resourceRefprotected List<ServiceRefType>serviceRef
-
Constructor Summary
Constructors Constructor Description MessageDrivenBeanType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>>getAbstractNamingEntry()Gets the value of the abstractNamingEntry property.ActivationConfigTypegetActivationConfig()Gets the value of the activationConfig property.List<EjbLocalRefType>getEjbLocalRef()Gets the value of the ejbLocalRef property.StringgetEjbName()Gets the value of the ejbName property.List<EjbRefType>getEjbRef()Gets the value of the ejbRef property.StringgetId()Gets the value of the id property.List<Jndi>getJndi()List<String>getJndiName()List<String>getLocalJndiName()List<PersistenceContextRefType>getPersistenceContextRef()List<PersistenceUnitRefType>getPersistenceUnitRef()PropertiesgetProperties()ResourceLocatorTypegetResourceAdapter()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.voidsetActivationConfig(ActivationConfigType value)Sets the value of the activationConfig property.voidsetEjbName(String value)Sets the value of the ejbName property.voidsetId(String value)Sets the value of the id property.voidsetResourceAdapter(ResourceLocatorType value)Sets the value of the resourceAdapter property.
-
-
-
Field Detail
-
ejbName
protected String ejbName
-
properties
protected Properties properties
-
resourceAdapter
protected ResourceLocatorType resourceAdapter
-
activationConfig
protected ActivationConfigType activationConfig
-
abstractNamingEntry
protected List<jakarta.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
-
-
Method Detail
-
getJndiName
public List<String> getJndiName()
- Specified by:
getJndiNamein interfaceEnterpriseBean
-
getLocalJndiName
public List<String> getLocalJndiName()
- Specified by:
getLocalJndiNamein interfaceEnterpriseBean
-
getJndi
public List<Jndi> getJndi()
- Specified by:
getJndiin interfaceEnterpriseBean
-
getEjbName
public String getEjbName()
Gets the value of the ejbName property.- Specified by:
getEjbNamein interfaceEnterpriseBean- Returns:
- possible object is
String
-
setEjbName
public void setEjbName(String value)
Sets the value of the ejbName property.- Specified by:
setEjbNamein interfaceEnterpriseBean- Parameters:
value- allowed object isString
-
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 isResourceLocatorType
-
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 isActivationConfigType
-
getAbstractNamingEntry
public List<jakarta.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 asetmethod 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 listJAXBElement<AbstractNamingEntryType>JAXBElement<PersistenceContextRefType>JAXBElement<PersistenceUnitRefType>JAXBElement<GbeanRefType>- Specified by:
getAbstractNamingEntryin interfaceEnterpriseBean
-
getPersistenceContextRef
public List<PersistenceContextRefType> getPersistenceContextRef()
- Specified by:
getPersistenceContextRefin interfaceEnterpriseBean
-
getPersistenceUnitRef
public List<PersistenceUnitRefType> getPersistenceUnitRef()
- Specified by:
getPersistenceUnitRefin interfaceEnterpriseBean
-
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 asetmethod 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 listEjbRefType- Specified by:
getEjbRefin interfaceEnterpriseBean
-
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 asetmethod 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 listEjbLocalRefType- Specified by:
getEjbLocalRefin interfaceEnterpriseBean
-
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 asetmethod 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 listServiceRefType- Specified by:
getServiceRefin interfaceEnterpriseBean
-
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 asetmethod 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 listResourceRefType- Specified by:
getResourceRefin interfaceEnterpriseBean
-
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 asetmethod 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 listResourceEnvRefType- Specified by:
getResourceEnvRefin interfaceEnterpriseBean
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getProperties
public Properties getProperties()
- Specified by:
getPropertiesin interfaceEnterpriseBean
-
-