站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

MethodBeforeAdviceInterceptor (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.aop.framework.adapter
Class MethodBeforeAdviceInterceptor

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

public class MethodBeforeAdviceInterceptor
extends Object
implements MethodInterceptor, 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
 Object invoke(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 Object invoke(MethodInvocation mi)
              throws Throwable
Specified by:
invoke in interface MethodInterceptor
Throws:
Throwable

The Spring Framework

Copyright © 2002-2007 The Spring Framework.