Package org.onebusaway.container.cache
Class CacheableAnnotationInterceptor
- java.lang.Object
-
- org.onebusaway.container.cache.CacheableMethodManager
-
- org.onebusaway.container.cache.CacheableAnnotationInterceptor
-
public class CacheableAnnotationInterceptor extends CacheableMethodManager
Implements anAspectaware interceptor that intercepts calls to methods annotated withCacheableand returns a cached result when available or calls the underlying method when not.- Author:
- bdferris
- See Also:
Cacheable
-
-
Field Summary
-
Fields inherited from class org.onebusaway.container.cache.CacheableMethodManager
_cacheableMethodKeyFactoryManager
-
-
Constructor Summary
Constructors Constructor Description CacheableAnnotationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdoBasicProfiling(org.aspectj.lang.ProceedingJoinPoint pjp)-
Methods inherited from class org.onebusaway.container.cache.CacheableMethodManager
createCache, evaluate, getCacheName, getKeyFactory, setCacheableMethodKeyFactoryManager, setCacheManager, setCacheNamePrefix
-
-