public class DefaultBeanFactoryPointcutAdvisor extends AbstractBeanFactoryPointcutAdvisor
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.
setPointcut(org.springframework.aop.Pointcut),
AbstractBeanFactoryPointcutAdvisor.setAdviceBeanName(java.lang.String),
Serialized Form| Constructor and Description |
|---|
DefaultBeanFactoryPointcutAdvisor() |
| Modifier and Type | Method and Description |
|---|---|
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor.
|
void |
setPointcut(Pointcut pointcut)
Specify the pointcut targeting the advice.
|
String |
toString() |
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactoryequals, getOrder, hashCode, isPerInstance, setOrderpublic void setPointcut(Pointcut pointcut)
Default is Pointcut.TRUE.
public Pointcut getPointcut()
PointcutAdvisorpublic String toString()
toString in class AbstractBeanFactoryPointcutAdvisor