类 AfterReturningAdviceAdapter
java.lang.Object
infra.aop.framework.adapter.AfterReturningAdviceAdapter
- 所有已实现的接口:
AdvisorAdapter,Serializable
Adapter to enable
AfterReturningAdvice
to be used in the AOP framework.- 作者:
- Rod Johnson, Juergen Hoeller
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getInterceptor(Advisor advisor) Return an AOP Alliance MethodInterceptor exposing the behavior of the given advice to an interception-based AOP framework.booleansupportsAdvice(Advice advice) Does this adapter understand this advice object?
-
构造器详细资料
-
AfterReturningAdviceAdapter
AfterReturningAdviceAdapter()
-
-
方法详细资料
-
supportsAdvice
从接口复制的说明:AdvisorAdapterDoes this adapter understand this advice object? Is it valid to invoke thegetInterceptorsmethod with an Advisor that contains this advice as an argument?- 指定者:
supportsAdvice在接口中AdvisorAdapter- 参数:
advice- an Advice such as a BeforeAdvice- 返回:
- whether this adapter understands the given advice object
- 另请参阅:
-
getInterceptor
从接口复制的说明:AdvisorAdapterReturn an AOP Alliance MethodInterceptor exposing the behavior of the given advice to an interception-based AOP framework.Don't worry about any Pointcut contained in the Advisor; the AOP framework will take care of checking the pointcut.
- 指定者:
getInterceptor在接口中AdvisorAdapter- 参数:
advisor- the Advisor. The supportsAdvice() method must have returned true on this object- 返回:
- an AOP Alliance interceptor for this Advisor. There's no need to cache instances for efficiency, as the AOP framework caches advice chains.
-