Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » support » [javadoc | source]
org.springframework.aop.support
public class: DefaultBeanFactoryPointcutAdvisor [javadoc | source]
java.lang.Object
   org.springframework.aop.support.AbstractPointcutAdvisor
      org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
         org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor

All Implemented Interfaces:
    BeanFactoryAware, Ordered, PointcutAdvisor, 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.

Method from org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor Summary:
getPointcut,   setPointcut,   toString
Methods from org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor:
getAdvice,   getAdviceBeanName,   setAdviceBeanName,   setBeanFactory,   toString
Methods from org.springframework.aop.support.AbstractPointcutAdvisor:
equals,   getOrder,   hashCode,   isPerInstance,   setOrder
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor Detail:
 public Pointcut getPointcut() 
 public  void setPointcut(Pointcut pointcut) 
    Specify the pointcut targeting the advice.

    Default is Pointcut.TRUE.

 public String toString()