javaee:ejb-local-refType

The ejb-local-refType is used by ejb-local-ref elements for
	the declaration of a reference to an enterprise bean's local
	home or to the local business interface of a 3.0 bean.
        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 optional expected type of the referenced enterprise bean
	    - the optional expected local interface of the referenced
              enterprise bean or the local business interface of the
              referenced enterprise bean.
	    - the optional expected local home interface of the referenced
              enterprise bean. Not applicable if this ejb-local-ref refers
              to the local business interface of a 3.0 bean.
	    - optional ejb-link information, used to specify the
	      referenced enterprise bean
            - optional elements to define injection of the named enterprise
              bean into a component field or property.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xsd:ID optional

Used By

Source

<xsd:complexType name="ejb-local-refType">
  <xsd:annotation>
    <xsd:documentation>The ejb-local-refType is used by ejb-local-ref elements for the declaration of a reference to an enterprise bean's local home or to the local business interface of a 3.0 bean. 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 optional expected type of the referenced enterprise bean - the optional expected local interface of the referenced enterprise bean or the local business interface of the referenced enterprise bean. - the optional expected local home interface of the referenced enterprise bean. Not applicable if this ejb-local-ref refers to the local business interface of a 3.0 bean. - optional ejb-link information, used to specify the referenced enterprise bean - optional elements to define injection of the named enterprise bean into a component field or property.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="description" type="javaee:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="ejb-ref-name" type="javaee:ejb-ref-nameType"/>
    <xsd:element name="ejb-ref-type" type="javaee:ejb-ref-typeType" minOccurs="0"/>
    <xsd:element name="local-home" type="javaee:local-homeType" minOccurs="0"/>
    <xsd:element name="local" type="javaee:localType" minOccurs="0"/>
    <xsd:element name="ejb-link" type="javaee:ejb-linkType" minOccurs="0"/>
    <xsd:group ref="javaee:resourceGroup"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>