com.googlecode.ehcache.annotations.resolver
Interface TriggersRemoveCacheResolver

All Known Implementing Classes:
SingletonTriggersRemoveCacheResolver

public interface TriggersRemoveCacheResolver

Used to resolve the cache to use at runtime for TriggersRemove annotated methods

Version:
$Revision: 656 $
Author:
Eric Dalquist

Method Summary
 java.lang.Iterable<net.sf.ehcache.Ehcache> resolveRemoveAllCaches(org.aopalliance.intercept.MethodInvocation invocation)
           
 java.lang.Iterable<net.sf.ehcache.Ehcache> resolveRemoveCaches(java.io.Serializable cacheKey, org.aopalliance.intercept.MethodInvocation invocation)
           
 

Method Detail

resolveRemoveCaches

java.lang.Iterable<net.sf.ehcache.Ehcache> resolveRemoveCaches(java.io.Serializable cacheKey,
                                                               org.aopalliance.intercept.MethodInvocation invocation)
Parameters:
cacheKey - The key generated by the configured CacheKeyGenerator, null if removeAll is true
invocation - The MethodInvocation that is being intercepted
Returns:
A read-only iterable collection of caches to remove from

resolveRemoveAllCaches

java.lang.Iterable<net.sf.ehcache.Ehcache> resolveRemoveAllCaches(org.aopalliance.intercept.MethodInvocation invocation)
Parameters:
invocation - The MethodInvocation that is being intercepted
Returns:
A read-only iterable collection of caches to remove from


Copyright © 2011. All Rights Reserved.