complexType resource-env-refType

complexType {http://java.sun.com/xml/ns/j2ee}resource-env-refType

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/j2ee
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:j2ee=http://java.sun.com/xml/ns/j2ee


Source

<xsd:complexType name="resource-env-refType">
    <
xsd:annotation>
        <
xsd:documentation>
The resource-env-refType is used to define
resource-env-type elements. It contains a declaration of a
Deployment Component's reference to an administered object
associated with a resource in the Deployment Component's
environment. It consists of an optional description, the
resource environment reference name, and an indication of
the resource environment reference type expected by the
Deployment Component code.

Example:

<resource-env-ref>
<resource-env-ref-name>jms/StockQueue
</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue
</resource-env-ref-type>
</resource-env-ref>
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:element name="description" type="j2ee:descriptionType" minOccurs="0"
            
maxOccurs="unbounded"/>
        <
xsd:element name="resource-env-ref-name" type="j2ee:jndi-nameType">
            <
xsd:annotation>
                <
xsd:documentation>
The resource-env-ref-name element specifies the name
of a resource environment reference; its value is
the environment entry name used in
the Deployment Component code. The name is a JNDI
name relative to the java:comp/env context and must
be unique within a Deployment Component.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="resource-env-ref-type" type="j2ee:fully-qualified-classType">
            <
xsd:annotation>
                <
xsd:documentation>
The resource-env-ref-type element specifies the type
of a resource environment reference. It is the
fully qualified name of a Java language class or
interface.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
    </
xsd:sequence>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

	  The resource-env-refType is used to define
	  resource-env-type elements.  It contains a declaration of a
	  Deployment Component's reference to an administered object
	  associated with a resource in the Deployment Component's
	  environment.  It consists of an optional description, the
	  resource environment reference name, and an indication of
	  the resource environment reference type expected by the
	  Deployment Component code.
	  Example:
	  <resource-env-ref>
	      <resource-env-ref-name>jms/StockQueue
	      </resource-env-ref-name>
	      <resource-env-ref-type>javax.jms.Queue
	      </resource-env-ref-type>
	  </resource-env-ref>


complexType resource-env-refType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.