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, BufferedIncrementAdvice, ClusterableAdvice, ThreadLocalCacheAdvice

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

Author:
Shuyang Zhou, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult
 
Constructor Summary
AnnotationChainableMethodAdvice()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  T findAnnotation(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationClass()
           
abstract  T getNullAnnotation()
           
static void registerAnnotationClass(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 
Methods inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
afterReturning, afterThrowing, before, duringFinally, invoke, setNextMethodInterceptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationChainableMethodAdvice

public AnnotationChainableMethodAdvice()
Method Detail

registerAnnotationClass

public static void registerAnnotationClass(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)

afterPropertiesSet

public void afterPropertiesSet()

getAnnotationClass

public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationClass()

getNullAnnotation

public abstract T getNullAnnotation()

findAnnotation

protected T findAnnotation(org.aopalliance.intercept.MethodInvocation methodInvocation)