com.liferay.portal.spring.aop
Class AnnotationChainableMethodAdvice<T extends java.lang.annotation.Annotation>

java.lang.Object
  extended by com.liferay.portal.spring.aop.ChainableMethodAdvice
      extended by com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice<T>
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
Direct Known Subclasses:
AsyncAdvice, ThreadLocalCacheAdvice

public abstract class AnnotationChainableMethodAdvice<T extends java.lang.annotation.Annotation>
extends ChainableMethodAdvice

View Source

Author:
Shuyang Zhou, Brian Wing Shun Chan

Field Summary
protected  java.util.Map<com.liferay.portal.kernel.util.MethodTargetClassKey,T> annotations
           
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult
 
Constructor Summary
AnnotationChainableMethodAdvice()
           
 
Method Summary
protected  com.liferay.portal.kernel.util.MethodTargetClassKey buildMethodTargetClassKey(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
protected  T findAnnotation(com.liferay.portal.kernel.util.MethodTargetClassKey methodTargetClassKey)
           
abstract  java.lang.Class<T> getAnnotationClass()
           
abstract  T getNullAnnotation()
           
 
Methods inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
afterReturning, afterThrowing, before, invoke, setNextMethodInterceptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotations

protected java.util.Map<com.liferay.portal.kernel.util.MethodTargetClassKey,T extends java.lang.annotation.Annotation> annotations
Constructor Detail

AnnotationChainableMethodAdvice

public AnnotationChainableMethodAdvice()
Method Detail

getAnnotationClass

public abstract java.lang.Class<T> getAnnotationClass()

getNullAnnotation

public abstract T getNullAnnotation()

buildMethodTargetClassKey

protected com.liferay.portal.kernel.util.MethodTargetClassKey buildMethodTargetClassKey(org.aopalliance.intercept.MethodInvocation methodInvocation)

findAnnotation

protected T findAnnotation(com.liferay.portal.kernel.util.MethodTargetClassKey methodTargetClassKey)