public interface MetaDataGenerator
One MetaDataGenerator will exist for each cacheable servlet identified in WebSphere. When implementing this interface, be aware that multiple threads may be using the same MetaDataGenerator concurrently.
Modifier and Type | Method and Description |
---|---|
void |
initialize(CacheConfig cc)
Deprecated.
Initialize is called once on servlet initialization, and should
take configuration values from its CacheConfig argurment and
store them locally. Additional config information from user
applications or other sources may be read here as well.
|
void |
setMetaData(ServletCacheRequest request,
javax.servlet.http.HttpServletResponse response)
The servlet engine calls this method each time a new cache entry
is created.
|
void initialize(CacheConfig cc)
void setMetaData(ServletCacheRequest request, javax.servlet.http.HttpServletResponse response)
request
- The request object being used for this invocationresponse
- The response object being used for this invocation