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

      • MessageDrivenBeanType

        public MessageDrivenBeanType()
    • Method Detail

      • 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
      • setResourceAdapter

        public void setResourceAdapter​(ResourceLocatorType value)
        Sets the value of the resourceAdapter property.
        Parameters:
        value - allowed object is ResourceLocatorType
      • 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 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
      • 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