javaee:ejb-refType

The ejb-refType is used by ejb-ref elements for the
	declaration of a reference to an enterprise bean's home or
        to the remote 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 remote interface of the referenced enterprise bean
              or the remote business interface of the referenced enterprise
              bean
	    - the optional expected home interface of the referenced
              enterprise bean.  Not applicable if this ejb-ref
              refers to the remote 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-refType">
  <xsd:annotation>
    <xsd:documentation>The ejb-refType is used by ejb-ref elements for the declaration of a reference to an enterprise bean's home or to the remote 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 remote interface of the referenced enterprise bean or the remote business interface of the referenced enterprise bean - the optional expected home interface of the referenced enterprise bean. Not applicable if this ejb-ref refers to the remote 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="home" type="javaee:homeType" minOccurs="0"/>
    <xsd:element name="remote" type="javaee:remoteType" 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>