ResourceEnvRef

The resource-env-ref element contains a declaration of an enterprise bean's reference to an administered object associated with a resource in the enterprise bean'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 enterprise bean code.Examples:<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>



 

Attributes Summary

description The description is used by the ejb-jar file producer to provide text describing the resource env ref.
name Specifies the name of a resource environment reference; its value is the environment entry name used in the enterprise bean code.
type Specifies the type of a resource environment reference.

 

Attribute Details


description

The description is used by the ejb-jar file producer to provide text describing the resource env ref.The description should include any information that the ejb-jar file producer wants to provide to the consumer of the ejb-jar file (i.e. to the Deployer). Typically, the tools used by the ejb-jar file consumer will display the description when processing the list of dependents.

Data type:   String
Default value:   unspecified



name

Specifies the name of a resource environment reference; its value is the environment entry name used in the enterprise bean code.

Data type:   String
Default value:   unspecified



type

Specifies the type of a resource environment reference. See the class description for an example.

Data type:  JavaClass