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