|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaDataGenerator
The MetaDataGenerator normally is responsible for assigning timeout, external cache group, and priority via the appropriate methods in the entry's FragmentInfo object.
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.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |