Sun GlassFish Enterprise Server v3 Domain File Format Reference

resource-ref

References a resource deployed to the server.

Superelements

server

Subelements

none

Attributes

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

Table 1–142 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, admin-object-resourceresource-adapter-config, connector-connection-pool, or jdbc-connection-pool element.