org.springframework.aop.framework.adapter
Class MethodBeforeAdviceInterceptor


final class MethodBeforeAdviceInterceptor
implements MethodInterceptor

Interceptor to wrap a MethodBeforeAdvice. In future we may also offer a more efficient alternative solution in cases where there is no interception advice and therefore no need to create a MethodInvocation object.
Used internally by the AOP framework: application developers should not need to use this class directly.

Author:
Rod Johnson
Version: $Id: MethodBeforeAdviceInterceptor.java,v 1.1 2003/12/11 15:00:24 johnsonr Exp $

Constructor Summary
MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
           

Method Summary
 Objectinvoke(MethodInvocation mi)
           

Constructor Detail

MethodBeforeAdviceInterceptor

public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
Method Detail

invoke

public Object invoke(MethodInvocation mi)
throws java.lang.Throwable
See Also:
org.aopalliance.intercept.MethodInterceptor#invoke(org.aopalliance.intercept.MethodInvocation)

Association Links

to Class org.springframework.aop.MethodBeforeAdvice