Class EJBLocalRef


  • public class EJBLocalRef
    extends EjbRef
    Since:
    J2EE1.3 The ejb-local-refType is used by ejb-local-ref elements for the declaration of a reference to an enterprise bean's local home. The declaration consists of: - an optional description - the EJB reference name used in the code of the Deployment Component that's referencing the enterprise bean - the expected type of the referenced enterprise bean - the expected local home and local interfaces of the referenced enterprise bean - optional ejb-link information, used to specify the referenced enterprise bean Java class for EJBLocalRef complex type. The following schema fragment specifies the expected content contained within this class.
     <complexType name="EJBLocalRef">
       <complexContent>
         <extension base="{common.xmi}EjbRef">
           <attribute name="local" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="localHome" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • local

        protected String local
      • localHome

        protected String localHome
    • Constructor Detail

      • EJBLocalRef

        public EJBLocalRef()
    • Method Detail

      • getLocal

        public String getLocal()
        Gets the value of the local property.
        Returns:
        possible object is String
      • setLocal

        public void setLocal​(String value)
        Sets the value of the local property.
        Parameters:
        value - allowed object is String
      • getLocalHome

        public String getLocalHome()
        Gets the value of the localHome property.
        Returns:
        possible object is String
      • setLocalHome

        public void setLocalHome​(String value)
        Sets the value of the localHome property.
        Parameters:
        value - allowed object is String