org.mmbase.applications.vprowizards.spring.cache
Interface OSCacheNameResolver

All Known Implementing Classes:
BasicOSCacheNameResolver

public interface OSCacheNameResolver

The purpose of this interface is to resolve identifiers for oscache groups and cache keys into real group or key names. usually the keys are prefixed with a hostname or such. This may be application dependent and so this interface makes it pluggable.

Author:
ebunders

Method Summary
 String resolveCacheGroupName(String identifier, HttpServletRequest request)
          create a full cache group name based on a given identifier.
 String resolveCacheKeyName(String identifier, HttpServletRequest request)
          create a full cache key name based on a given identifier.
 

Method Detail

resolveCacheGroupName

String resolveCacheGroupName(String identifier,
                             HttpServletRequest request)
create a full cache group name based on a given identifier.

Parameters:
name -
Returns:

resolveCacheKeyName

String resolveCacheKeyName(String identifier,
                           HttpServletRequest request)
create a full cache key name based on a given identifier.

Parameters:
identifier -
Returns:


MMBase 2.0-SNAPSHOT - null