Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.services.cache.WebPageCacheManager Class Reference

List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Main manage to register a service that has its page cached.

The use of web page cache for service that use complet processis to generate an answer with data that doen't change often. When a request arrive for this service, if it has already been cached, the cached page is return with no service processing. To register a service, you must use a WebPageCacheServiceStruct. A default implementation is provided. This structure define cache properties and store cached page.

When registering a service register for a spcific event that will signal when the cache has to be cleared. A service can register the same WebPageCacheServiceStruct for several event. When an event is send, all cached page of all service registered for this event is validated with the WebPageCacheServiceStruct implementation.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 56 of file WebPageCacheManager.java.

Public Member Functions

void registerService (WebPageCacheServiceStruct service, WebPageCacheEvent event)
byte[] getCachedPage (HttpServletRequest req, Service service)
void setCachedPage (HttpServletRequest req, byte[] cachedData, Service service)
void sendCacheEvent (WebPageCacheEvent event)

Static Public Member Functions

static WebPageCacheManager getManager ()


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:39 2005 for OpenMobileIS by  doxygen 1.4.4