com.googlecode.ehcache.annotations
Interface CacheableAttribute

All Superinterfaces:
MethodAttribute

public interface CacheableAttribute
extends MethodAttribute

Represents the objects needed to intercept calls to methods annotated with Cacheable

Version:
$Revision: 656 $
Author:
Eric Dalquist

Method Summary
 CacheableInterceptor getCacheInterceptor()
           
 CacheableCacheResolver getCacheResolver()
           
 boolean isCacheNull()
           
 
Methods inherited from interface com.googlecode.ehcache.annotations.MethodAttribute
getAdviceType, getCacheKeyGenerator, getCacheKeyParameterMask
 

Method Detail

getCacheResolver

CacheableCacheResolver getCacheResolver()
Returns:
The CacheableCacheResolver used to determine the Cache and ExceptionCache to use. Cannot return null.

isCacheNull

boolean isCacheNull()
Returns:
true If the null return values should be cached.

getCacheInterceptor

CacheableInterceptor getCacheInterceptor()
Returns:
The CacheableInterceptor to use when handling intercepted method invocations. Cannot return null.


Copyright © 2011. All Rights Reserved.