ResourceEnvRef

The resource-env-refType is used to defineresource-env-type elements. It contains a declaration of aDeployment Component's reference to an administered objectassociated with a resource in the Deployment Component'senvironment. It consists of an optional description, theresource environment reference name, and an indication ofthe resource environment reference type expected by theDeployment 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>



Attributes Summary
description : String@since J2EE1.
name : StringThe 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.
type : JavaClass@ The resource-env-ref-type element specifies the type of a resource environment reference.
descriptions : Description *  

Attribute Details

description    -    @since J2EE1.4 deprecated, becomes descriptionsThe 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    -    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.
     data type:  String
     default Value:   unspecified



type    -    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.
     data type: JavaClass@



descriptions    -     
     data type: Description*


Copyright IBM Corp. 1997-2004