org.onebusaway.container.cache
public class CacheableMethodManager extends Object
Cacheable
,
CacheableAnnotationInterceptor
,
CacheableMethodKeyFactory
,
CacheableMethodKeyFactoryManager
Modifier and Type | Field and Description |
---|---|
protected CacheableMethodKeyFactoryManager |
_cacheableMethodKeyFactoryManager |
Constructor and Description |
---|
CacheableMethodManager() |
Modifier and Type | Method and Description |
---|---|
protected net.sf.ehcache.Cache |
createCache(org.aspectj.lang.ProceedingJoinPoint pjp,
String name) |
Object |
evaluate(org.aspectj.lang.ProceedingJoinPoint pjp) |
protected String |
getCacheName(org.aspectj.lang.ProceedingJoinPoint pjp) |
protected CacheableMethodKeyFactory |
getKeyFactory(org.aspectj.lang.ProceedingJoinPoint pjp,
Method method)
Protected Methods
|
void |
setCacheableMethodKeyFactoryManager(CacheableMethodKeyFactoryManager cacheableMethodKeyFactoryManager) |
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager) |
void |
setCacheNamePrefix(String cacheNamePrefix) |
protected CacheableMethodKeyFactoryManager _cacheableMethodKeyFactoryManager
public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
public void setCacheableMethodKeyFactoryManager(CacheableMethodKeyFactoryManager cacheableMethodKeyFactoryManager)
public void setCacheNamePrefix(String cacheNamePrefix)
public Object evaluate(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
Throwable
protected CacheableMethodKeyFactory getKeyFactory(org.aspectj.lang.ProceedingJoinPoint pjp, Method method)
method
- protected String getCacheName(org.aspectj.lang.ProceedingJoinPoint pjp)
protected net.sf.ehcache.Cache createCache(org.aspectj.lang.ProceedingJoinPoint pjp, String name)
Copyright © 2014 OneBusAway. All Rights Reserved.