EnvEntry

The env-entry element contains the declaration of an application client's environment entries. The declaration consists of an optional description, the name of the environment entry, and an optional value.



 

Attributes Summary

description The description element is used by the ejb-jar file producer to provide text describing the parent element.
name The env-entry-name element contains the name of an application client's environment entry.
value The env-entry-value element contains the value of an application client's environment entry.
type The env-entry-type element contains the fully-qualified Java type of the environment entry value that is expected by the application client's code.

 

Attribute Details


description

The description element is used by the ejb-jar file producer to provide text describing the parent element. The description element 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 parent element.

Data type:   String
Default value:   unspecified



name

The env-entry-name element contains the name of an application client's environment entry.

Data type:   String
Default value:   unspecified



value

The env-entry-value element contains the value of an application client's environment entry. The value must be a String that is valid for the constructor of the specified type that takes a single String parameter.Used in: env-entryExample:<env-entry-value>/datasources/MyDatabase</env-entry-value>

Data type:   String
Default value:   unspecified



type

The env-entry-type element contains the fully-qualified Java type of the environment entry value that is expected by the application client's code. The following are the legal values of env-entry-type: java.lang.Bool-ean, java.lang.String, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, and java.lang.Float. Example: <env-entry-type>java.lang.Boolean</env-entry-type>

Data type:  EnvEntryType
Default value:   unspecified
Allowed Values:  String   Integer   Boolean   Double   Byte   Shor   Long   Floa   Character