com.liferay.portal.spring.aop
Class AnnotationChainableMethodAdvice<T extends java.lang.annotation.Annotation>
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
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 java.lang.annotation.Annotation>
- extends ChainableMethodAdvice
- implements org.springframework.beans.factory.BeanFactoryAware
View Source
- Author:
- Shuyang Zhou, Brian Wing Shun Chan
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)
|
protected T |
getAnnotation(java.lang.annotation.Annotation[] annotations)
|
abstract T |
getNullAnnotation()
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationChainableMethodAdvice
public AnnotationChainableMethodAdvice()
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 com.liferay.portal.kernel.util.MethodTargetClassKey buildMethodTargetClassKey(org.aopalliance.intercept.MethodInvocation methodInvocation)
findAnnotation
protected T findAnnotation(com.liferay.portal.kernel.util.MethodTargetClassKey methodTargetClassKey)
getAnnotation
protected T getAnnotation(java.lang.annotation.Annotation[] annotations)