Sun GlassFish Enterprise Server 2.1 Administration Reference

resource-ref

References a resource deployed to the server instance or cluster.


Note –

Some topics in the documentation pertain to features that are available only in domains that are configured to support clusters. Examples of domains that support clusters are domains that are created with the cluster profile or the enterprise profile. For information about profiles, see Usage Profiles in Sun GlassFish Enterprise Server 2.1 Administration Guide.


Superelements

cluster, server

Subelements

none

Attributes

The following table describes attributes for the resource-ref element.

Table 1–154 resource-ref Attributes

Attribute 

Default 

Description 

enabled

true

(optional) Determines whether the resource is enabled. 

ref

none 

References the name attribute of a custom-resource, external-jndi-resource, jdbc-resource, mail-resource, persistence-manager-factory-resource, admin-object-resource resource-adapter-config, jdbc-connection-pool, or connector-connection-pool element.