1 16 17 package org.springframework.aop.support; 18 19 import org.springframework.aop.Pointcut; 20 21 35 public class DefaultBeanFactoryPointcutAdvisor extends AbstractBeanFactoryPointcutAdvisor { 36 37 private Pointcut pointcut = Pointcut.TRUE; 38 39 40 45 public void setPointcut(Pointcut pointcut) { 46 this.pointcut = (pointcut != null ? pointcut : Pointcut.TRUE); 47 } 48 49 public Pointcut getPointcut() { 50 return this.pointcut; 51 } 52 53 54 public String toString() { 55 return getClass().getName() + ": pointcut [" + getPointcut() + "]; advice bean '" + getAdviceBeanName() + "'"; 56 } 57 58 } 59 | Popular Tags |