InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.34: Administering environment entries >
6.6.34.0.aa: Assembly properties for environment entries
6.6.34.0.aa: Assembly properties for environment entries
Environment entries define variables used to customize the business logic
of an application at run-time. This eliminates the need to access or
change the application's source code. The container makes the
application's environment entries available in a JNDI naming context
(java:comp/env). An example environment entry is maxExceptions,
describing the maximum number of tax exemptions that are allowed. The
environment entry's expected type is java.lang.Integer and
its value is 15.
- Name (Required, String)
- Specifies the name of the environment entry, relative to the
java:comp/env context.
- Value
- Contains the value of the environment entry. The value must be a
string that is valid for the constructor of the specified type that takes a
single string parameter.
- Type (Required, String)
- Specifies the fully qualified Java type of the environment entry value
that is expected by the module's code. The following are the legal
values for this field: java.lang.Boolean,
java.lang.String, java.lang.Integer,
java.lang.Double, java.lang.Byte,
java.lang.Short, java.lang.Long, and
java.lang.Float.
- Description
- Contains text describing the environment entries.
|
|