1 16 17 package org.springframework.aop.aspectj; 18 19 import org.springframework.aop.Pointcut; 20 import org.springframework.aop.support.AbstractGenericPointcutAdvisor; 21 22 28 public class AspectJExpressionPointcutAdvisor extends AbstractGenericPointcutAdvisor { 29 30 private final AspectJExpressionPointcut pointcut = new AspectJExpressionPointcut(); 31 32 33 public Pointcut getPointcut() { 34 return this.pointcut; 35 } 36 37 public void setExpression(String expression) { 38 this.pointcut.setExpression(expression); 39 } 40 41 public void setLocation(String location) { 42 this.pointcut.setLocation(location); 43 } 44 45 public void setParameterTypes(Class [] types) { 46 this.pointcut.setParameterTypes(types); 47 } 48 49 public void setParameterNames(String [] names) { 50 this.pointcut.setParameterNames(names); 51 } 52 53 public String getLocation() { 54 return this.pointcut.getLocation(); 55 } 56 57 public String getExpression() { 58 return this.pointcut.getExpression(); 59 } 60 61 } 62 | Popular Tags |