JNDI cache properties

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

You can set properties in these 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 is updated according to the new "max life" property settings. If no "max life" properties exist in the environment, the cache assumes default "max life" settings, regardless of the previous settings. The various cache properties are described below. All property values must be String values.