public class AfterReturningAdviceInterceptor extends java.lang.Object implements MethodInterceptor, AfterAdvice, java.io.Serializable
AfterReturningAdvice.
Used internally by the AOP framework; application developers should not need
to use this class directly.| Constructor and Description |
|---|
AfterReturningAdviceInterceptor(AfterReturningAdvice advice)
Create a new AfterReturningAdviceInterceptor for the given advice.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(MethodInvocation mi)
Implement this method to perform extra treatments before and
after the invocation.
|
public AfterReturningAdviceInterceptor(AfterReturningAdvice advice)
advice - the AfterReturningAdvice to wrappublic java.lang.Object invoke(MethodInvocation mi) throws java.lang.Throwable
MethodInterceptorJoinpoint.proceed().invoke in interface MethodInterceptormi - the method invocation joinpointJoinpoint.proceed();
might be intercepted by the interceptorjava.lang.Throwable - if the interceptors or the target object
throws an exception