com.opensymphony.oscache.web.filter
Interface ICacheGroupsProvider

All Known Implementing Classes:
CacheFilter

public interface ICacheGroupsProvider

Provider interface for cache groups creation in CacheFilter. A developer can implement a method which provides cache groups based on the request, the servlet cache administrator and cache. JIRA issue: http://jira.opensymphony.com/browse/CACHE-195

Version:
$Revision: 1.1 $
Author:
Lars Torunski

Method Summary
 String[] createCacheGroups(javax.servlet.http.HttpServletRequest httpRequest, ServletCacheAdministrator scAdmin, Cache cache)
          Creates the cache groups for the CacheFilter.
 

Method Detail

createCacheGroups

public String[] createCacheGroups(javax.servlet.http.HttpServletRequest httpRequest,
                                  ServletCacheAdministrator scAdmin,
                                  Cache cache)
Creates the cache groups for the CacheFilter.

Parameters:
httpRequest - the http request.
scAdmin - the ServletCacheAdministrator of the cache
cache - the cache of the ServletCacheAdministrator
Returns:
the cache key

OSCache Project Page