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 : StringThe description element is used by the ejb-jar file producer to provide text describing the parent element.
name : StringThe env-entry-name element contains the name of an application client's environment entry.
value : StringThe env-entry-value element contains the value of an application client's environment entry.
type : EnvEntryTypeThe 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   Short   Long   Float   Character  


Copyright IBM Corp. 1996-2002