当前页面:
在线文档首页 >
Spring Framework 1.2.9 API 文档英文版
MethodBeforeAdviceInterceptor (Spring Framework) - Spring Framework 1.2.9 API 文档英文版
org.springframework.aop.framework.adapter
Class MethodBeforeAdviceInterceptor
java.lang.Object
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor
- All Implemented Interfaces:
- Serializable, Advice, Interceptor, MethodInterceptor
public final class MethodBeforeAdviceInterceptor
- extends Object
- implements MethodInterceptor, Serializable
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.
You can use this class to wrap Spring MethodBeforeAdvice implementations
for use in other AOP frameworks supporting the AOP Alliance
interfaces.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodBeforeAdviceInterceptor
public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)
invoke
public Object invoke(MethodInvocation mi)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
Throwable
- See Also:
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
Copyright (c) 2002-2007 The Spring Framework Project.