This element allows you to change the properties of the built-in default cache-helper class.
The following table describes the property subelements for the default-helper element.
Table A–35 default-helper Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property, which has a name and a value. |
none
The following table describes the cacheKeyGeneratorAttrName properties for the default-helper element.
Table A–36 default-helper Properties
Property Name |
Default Value |
Description |
---|---|---|
cacheKeyGeneratorAttrName |
Uses the built-in default cache-helper key generation, which concatenates the servlet path with key-field values, if any |
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 provide a customized key generator rather than using the default helper. |