Liferay 6.0-ee

com.liferay.portal.spring.aop
Class AnnotationChainableMethodAdvice<T extends 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, org.springframework.beans.factory.BeanFactoryAware
Direct Known Subclasses:
AsyncAdvice, BufferedIncrementAdvice, ClusterableAdvice, ThreadLocalCacheAdvice

public abstract class AnnotationChainableMethodAdvice<T extends Annotation>
extends ChainableMethodAdvice
implements org.springframework.beans.factory.BeanFactoryAware


Field Summary
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult
 
Constructor Summary
AnnotationChainableMethodAdvice()
           
 
Method Summary
protected  MethodTargetClassKey buildMethodTargetClassKey(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
protected  T findAnnotation(MethodTargetClassKey methodTargetClassKey)
           
protected  T getAnnotation(Annotation[] annotations)
           
abstract  T getNullAnnotation()
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 
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

getNullAnnotation

public abstract T getNullAnnotation()

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware

buildMethodTargetClassKey

protected MethodTargetClassKey buildMethodTargetClassKey(org.aopalliance.intercept.MethodInvocation methodInvocation)

findAnnotation

protected T findAnnotation(MethodTargetClassKey methodTargetClassKey)

getAnnotation

protected T getAnnotation(Annotation[] annotations)

Liferay 6.0-ee