org.kuali.student.common.test.spring
Class IdToObjectEhcacheAdvice

java.lang.Object
  extended by org.kuali.student.common.test.spring.IdToObjectEhcacheAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice

public class IdToObjectEhcacheAdvice
extends Object
implements org.aopalliance.aop.Advice


Field Summary
private  net.sf.ehcache.CacheManager cacheManager
           
private  String cacheName
           
(package private)  Logger LOG
           
 
Constructor Summary
IdToObjectEhcacheAdvice()
           
IdToObjectEhcacheAdvice(String cacheName)
           
 
Method Summary
 String getCacheName()
           
 Object getFromCache(org.aspectj.lang.ProceedingJoinPoint pjp)
           
 Object invalidateCache(org.aspectj.lang.ProceedingJoinPoint pjp)
           
 void setCacheName(String cacheName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

final Logger LOG

cacheManager

private net.sf.ehcache.CacheManager cacheManager

cacheName

private String cacheName
Constructor Detail

IdToObjectEhcacheAdvice

public IdToObjectEhcacheAdvice()

IdToObjectEhcacheAdvice

public IdToObjectEhcacheAdvice(String cacheName)
Parameters:
cacheName -
Method Detail

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.