JNDI cache properties

JNDI clients can use several properties to control cache behavior. These properties can be set in the JVM system environment or in the environment Hashtable that is passed to the InitialContext constructor.

Set properties in the following ways:

Cache properties are evaluated when an InitialContext instance is created. The resulting cache association, including "none", cannot be changed. The "max life" cache properties affect the individual cache's behavior. If the cache already exists, cache behavior will be updated according to the new "max life" property settings. If no "max life" properties exist in the environment, the cache will assume default "max life" settings, regardless of the previous settings. The various cache properties are described below. All property values must be String values.