EnvEntry

The env-entryType is used to declare an application'senvironment entry. The declaration consists of an optionaldescription, the name of the environment entry, and anoptional value. If a value is not specified, one must besupplied during deployment.It is used by env-entry elements.



Attributes Summary
description : String@since J2EE1.
name : StringThe env-entry-name element contains the name of a Deployment Component's environment entry.
value : StringThe env-entry-value designates the value of a Deployment Component'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.
descriptions : Description * @since J2EE1.

Attribute Details

description    -    @since J2EE1.4 deprecated, becomes descriptionsThe 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 a Deployment Component's environment entry. The name is a JNDI name relative to the java:comp/env context. The name must be unique within a Deployment Component. The uniqueness constraints must be defined within the declared context. Example: <env-entry-name>minAmount</env-entry-name>
     data type:  String
     default Value:   unspecified



value    -    The env-entry-value designates the value of a Deployment Component'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, or for java.lang.Character, a single character. Example: <env-entry-value>100.00</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  



descriptions    -    @since J2EE1.4
     data type: Description*


Copyright IBM Corp. 1997-2004