Spring Framework

org.springframework.aop.framework.adapter
Class MethodBeforeAdviceInterceptor

java.lang.Object
  extended by org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor
All Implemented Interfaces:
java.io.Serializable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MethodBeforeAdviceInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor, java.io.Serializable

Interceptor to wrap am MethodBeforeAdvice. Used internally by the AOP framework; application developers should not need to use this class directly.

Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
          Create a new MethodBeforeAdviceInterceptor for the given advice.
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodBeforeAdviceInterceptor

public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
Create a new MethodBeforeAdviceInterceptor for the given advice.

Parameters:
advice - the MethodBeforeAdvice to wrap
Method Detail

invoke

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

Spring Framework