Default CacheHelper Property Editor

The default CacheHelper parameters allow you to change the properties of the built-in, default CacheHelper implementation. You open the Default CacheHelper property editor by selecting the Cache Default Helper property and its ellipsis (...) button from the Sun ONE AS pane of the web.xml property sheet.

Adding a default CacheHelper parameter

To add a default CacheHelper parameter:

  1. From the Default CacheHelper property editor, click Add.
  2. Select the parameter name in the Param Name field and type its value in the Param Value field. See List of Parameters below for possible parameters.
  3. Edit the description of the parameter in the Description field.
  4. Click OK. The information you have specified is reflected in the property editor. You may add additional parameters by clicking Add.

Editing a default CacheHelper parameter

To edit a default CacheHelper parameter:

  1. From the Default CacheHelper property editor, click Add.
  2. Change the parameter name, value, and description in the dialog box. See List of Parameters below for possible parameters.
  3. Click OK. The information you have modified is reflected in the property editor.

Removing a default CacheHelper parameter

Remove the parameter from the table in the property editor.

List of Parameters

The following describes default CacheHelper parameters:

Property Name Value
cacheKeyGeneratorAttrName The caching engine looks in the ServletContext for an attribute with a name equal to the value specified for this property to determine whether a customized CacheKeyGenerator implementation is used. An application may provide a customized key generator rather than using the default CacheHelper implementation.

See also
   Web Module Property Sheet: Sun ONE AS Tab
Cache Property Editor

Legal Notices