类 DefaultBeanFactoryPointcutAdvisor
java.lang.Object
cn.taketoday.core.OrderedSupport
cn.taketoday.aop.support.AbstractPointcutAdvisor
cn.taketoday.aop.support.AbstractBeanFactoryPointcutAdvisor
cn.taketoday.aop.support.DefaultBeanFactoryPointcutAdvisor
- 所有已实现的接口:
Advisor,PointcutAdvisor,Aware,BeanFactoryAware,Ordered,Serializable
Concrete BeanFactory-based PointcutAdvisor that allows for any Advice
to be configured as reference to an Advice bean in the BeanFactory,
as well as the Pointcut to be configured through a bean property.
Specifying the name of an advice bean instead of the advice object itself (if running within a BeanFactory) increases loose coupling at initialization time, in order to not initialize the advice object until the pointcut actually matches.
- 从以下版本开始:
- 4.0 2021/12/10 21:20
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.core.OrderedSupport
order从接口继承的字段 cn.taketoday.aop.Advisor
EMPTY_ADVICE从接口继承的字段 cn.taketoday.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get the Pointcut that drives this advisor.voidsetPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.toString()从类继承的方法 cn.taketoday.aop.support.AbstractBeanFactoryPointcutAdvisor
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory从类继承的方法 cn.taketoday.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, isPerInstance从类继承的方法 cn.taketoday.core.OrderedSupport
setOrder
-
构造器详细资料
-
DefaultBeanFactoryPointcutAdvisor
public DefaultBeanFactoryPointcutAdvisor()
-
-
方法详细资料
-
setPointcut
Specify the pointcut targeting the advice.Default is
Pointcut.TRUE. -
getPointcut
从接口复制的说明:PointcutAdvisorGet the Pointcut that drives this advisor. -
toString
-