当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
AbstractGenericPointcutAdvisor (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
org.springframework.aop.support
Class AbstractGenericPointcutAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractGenericPointcutAdvisor
- All Implemented Interfaces:
- Serializable, Advisor, PointcutAdvisor, Ordered
- Direct Known Subclasses:
- AspectJExpressionPointcutAdvisor, DefaultPointcutAdvisor, NameMatchMethodPointcutAdvisor, RegexpMethodPointcutAdvisor
public abstract class AbstractGenericPointcutAdvisor
- extends AbstractPointcutAdvisor
Abstract generic PointcutAdvisor that allows for any Advice to be configured.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
setAdvice(org.aopalliance.aop.Advice)
,
DefaultPointcutAdvisor
,
Serialized Form
AbstractGenericPointcutAdvisor
public AbstractGenericPointcutAdvisor()
setAdvice
public void setAdvice(Advice advice)
- Specify the advice that this advisor should apply.
getAdvice
public Advice getAdvice()
- Description copied from interface:
Advisor
- Return the advice part of this aspect. An advice may be an
interceptor, a before advice, a throws advice, etc.
- Returns:
- the advice that should apply if the pointcut matches
- See Also:
MethodInterceptor
,
BeforeAdvice
,
ThrowsAdvice
,
AfterReturningAdvice
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2007 The Spring Framework.