| |||||||
| DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES | ||||||
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{http://java.sun.com/xml/ns/j2ee}resource-refType (restriction)
The resource-refType contains a declaration of a
Deployment Component's reference to an external resource. It
consists of an optional description, the resource manager
connection factory reference name, the indication of the
resource manager connection factory type expected by the
Deployment Component code, the type of authentication
(Application or Container), and an optional specification of
the shareability of connections obtained from the resource
(Shareable or Unshareable).
Example:
<resource-ref>
<res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
| Nested Element Summary | |
j2ee:descriptionType | description |
j2ee:res-authType | res-auth |
j2ee:jndi-nameType | res-ref-nameThe res-ref-name element specifies the name of a resource manager connection factory reference. |
j2ee:res-sharing-scopeType | res-sharing-scope |
j2ee:fully-qualified-classType | res-typeThe res-type element specifies the type of the data source. |
| Attribute Summary | |
xsd:ID | id |
| Attribute Detail |
xsd:IDoptionalunqualified<xsd:complexType name="resource-refType"><xsd:sequence>
</xsd:sequence><xsd:attribute name="id" type="xsd:ID"/></xsd:complexType>
| |||||||
| DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES | ||||||