Liferay 6.2-ce-ga5

com.liferay.portal.spring.aop
Class ChainableMethodAdvice

java.lang.Object
  extended by com.liferay.portal.spring.aop.ChainableMethodAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
Direct Known Subclasses:
AnnotationChainableMethodAdvice, DynamicDataSourceAdvice, ServiceMonitorAdvice

public abstract class ChainableMethodAdvice
extends Object
implements org.aopalliance.intercept.MethodInterceptor


Field Summary
protected  org.aopalliance.intercept.MethodInterceptor nextMethodInterceptor
           
protected  Object nullResult
           
protected  ServiceBeanAopCacheManager serviceBeanAopCacheManager
           
 
Constructor Summary
ChainableMethodAdvice()
           
 
Method Summary
 void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation, Object result)
           
 void afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation, Throwable throwable)
           
 Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 void setNextMethodInterceptor(org.aopalliance.intercept.MethodInterceptor nextMethodInterceptor)
           
protected  void setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextMethodInterceptor

protected org.aopalliance.intercept.MethodInterceptor nextMethodInterceptor

nullResult

protected Object nullResult

serviceBeanAopCacheManager

protected ServiceBeanAopCacheManager serviceBeanAopCacheManager
Constructor Detail

ChainableMethodAdvice

public ChainableMethodAdvice()
Method Detail

afterReturning

public void afterReturning(org.aopalliance.intercept.MethodInvocation methodInvocation,
                           Object result)
                    throws Throwable
Throws:
Throwable

afterThrowing

public void afterThrowing(org.aopalliance.intercept.MethodInvocation methodInvocation,
                          Throwable throwable)
                   throws Throwable
Throws:
Throwable

before

public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
              throws Throwable
Throws:
Throwable

duringFinally

public void duringFinally(org.aopalliance.intercept.MethodInvocation methodInvocation)

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

setNextMethodInterceptor

public void setNextMethodInterceptor(org.aopalliance.intercept.MethodInterceptor nextMethodInterceptor)

setServiceBeanAopCacheManager

protected void setServiceBeanAopCacheManager(ServiceBeanAopCacheManager serviceBeanAopCacheManager)

Liferay 6.2-ce-ga5