public class MethodBeforeAdviceInterceptor extends Object implements MethodInterceptor, Serializable
MethodBeforeAdvice
.
Used internally by the AOP framework; application developers should not need
to use this class directly.Constructor and Description |
---|
MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
Create a new MethodBeforeAdviceInterceptor for the given advice.
|
public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
advice
- the MethodBeforeAdvice to wrappublic Object invoke(MethodInvocation mi) throws Throwable
invoke
in interface MethodInterceptor
Throwable