com.liferay.portal.cache
Class ThreadLocalCacheAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice<ThreadLocalCachable>
com.liferay.portal.cache.ThreadLocalCacheAdvice
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class ThreadLocalCacheAdvice
- extends AnnotationChainableMethodAdvice<ThreadLocalCachable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalCacheAdvice
public ThreadLocalCacheAdvice()
afterReturning
public void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
Object result)
throws Throwable
- Overrides:
afterReturning
in class ChainableMethodAdvice
- Throws:
Throwable
before
public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Overrides:
before
in class ChainableMethodAdvice
- Throws:
Throwable
getNullAnnotation
public ThreadLocalCachable getNullAnnotation()
- Specified by:
getNullAnnotation
in class AnnotationChainableMethodAdvice<ThreadLocalCachable>