com.liferay.portal.cache
Class ThreadLocalCacheAdvice

java.lang.Object
  extended by com.liferay.portal.spring.aop.ChainableMethodAdvice
      extended by com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice<com.liferay.portal.kernel.cache.ThreadLocalCachable>
          extended by 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

Field Summary
 
Fields inherited from class com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice
annotations
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult
 
Constructor Summary
ThreadLocalCacheAdvice()
           
 
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 com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice
buildMethodTargetClassKey, findAnnotation
 
Methods inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
afterThrowing, invoke, setNextMethodInterceptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalCacheAdvice

public ThreadLocalCacheAdvice()
Method Detail

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>