public class MethodArgsToObjectEhcacheAdvice extends Object implements org.aopalliance.aop.Advice
Constructor and Description |
---|
MethodArgsToObjectEhcacheAdvice() |
MethodArgsToObjectEhcacheAdvice(String cacheName) |
Modifier and Type | Method and Description |
---|---|
String |
getCacheName() |
Object |
getFromCache(org.aspectj.lang.ProceedingJoinPoint pjp) |
Object |
invalidateCache(org.aspectj.lang.ProceedingJoinPoint pjp) |
boolean |
isEnabled() |
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager) |
void |
setCacheName(String cacheName) |
void |
setEnabled(boolean enabled) |
public MethodArgsToObjectEhcacheAdvice()
public MethodArgsToObjectEhcacheAdvice(String cacheName)
cacheName
- public Object invalidateCache(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
Throwable
public Object getFromCache(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
Throwable
public String getCacheName()
public void setCacheName(String cacheName)
cacheName
- the cacheName to setpublic void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
public boolean isEnabled()
public void setEnabled(boolean enabled)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.