org.kuali.student.common.test.spring
Class IdToObjectEhcacheAdvice
java.lang.Object
org.kuali.student.common.test.spring.IdToObjectEhcacheAdvice
- All Implemented Interfaces:
- org.aopalliance.aop.Advice
public class IdToObjectEhcacheAdvice
- extends Object
- implements org.aopalliance.aop.Advice
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
final Logger LOG
cacheManager
private net.sf.ehcache.CacheManager cacheManager
cacheName
private String cacheName
IdToObjectEhcacheAdvice
public IdToObjectEhcacheAdvice()
IdToObjectEhcacheAdvice
public IdToObjectEhcacheAdvice(String cacheName)
- Parameters:
cacheName
-
invalidateCache
public Object invalidateCache(org.aspectj.lang.ProceedingJoinPoint pjp)
throws Throwable
- Throws:
Throwable
getFromCache
public Object getFromCache(org.aspectj.lang.ProceedingJoinPoint pjp)
throws Throwable
- Throws:
Throwable
getCacheName
public String getCacheName()
- Returns:
- the cacheName
setCacheName
public void setCacheName(String cacheName)
- Parameters:
cacheName
- the cacheName to set
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.