com.liferay.portal.spring.aop
Class ChainableMethodAdvice
java.lang.Object
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, ServiceMonitorAdvice
public abstract class ChainableMethodAdvice
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextMethodInterceptor
protected org.aopalliance.intercept.MethodInterceptor nextMethodInterceptor
nullResult
protected Object nullResult
ChainableMethodAdvice
public ChainableMethodAdvice()
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)