Passes property values to the built-in default cache-helper class.
cache (sun-web.xml)
The following table describes subelements for the default-helper element.
Table A–39 default-helper Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property, which has a name and a value. |
The following table describes properties for the default-helper element.
Table A–40 default-helper Properties
Property |
Default |
Description |
---|---|---|
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 can provide a customized key generator rather than using the default helper. See The CacheKeyGenerator Interface in Sun GlassFish Enterprise Server v2.1.1 Developer’s Guide. |