com.liferay.portal.cache
Class ThreadLocalCacheAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice<com.liferay.portal.kernel.cache.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<com.liferay.portal.kernel.cache.ThreadLocalCachable>
View Source
- Author:
- Shuyang Zhou, Brian Wing Shun Chan
Method Summary |
void |
afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
java.lang.Object result)
|
java.lang.Object |
before(org.aopalliance.intercept.MethodInvocation methodInvocation)
|
java.lang.Class<com.liferay.portal.kernel.cache.ThreadLocalCachable> |
getAnnotationClass()
|
com.liferay.portal.kernel.cache.ThreadLocalCachable |
getNullAnnotation()
|
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,
java.lang.Object result)
throws java.lang.Throwable
- Overrides:
afterReturning
in class ChainableMethodAdvice
- Throws:
java.lang.Throwable
before
public java.lang.Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws java.lang.Throwable
- Overrides:
before
in class ChainableMethodAdvice
- Throws:
java.lang.Throwable
getAnnotationClass
public java.lang.Class<com.liferay.portal.kernel.cache.ThreadLocalCachable> getAnnotationClass()
- Specified by:
getAnnotationClass
in class AnnotationChainableMethodAdvice<com.liferay.portal.kernel.cache.ThreadLocalCachable>
getNullAnnotation
public com.liferay.portal.kernel.cache.ThreadLocalCachable getNullAnnotation()
- Specified by:
getNullAnnotation
in class AnnotationChainableMethodAdvice<com.liferay.portal.kernel.cache.ThreadLocalCachable>