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

All Implemented Interfaces:
    Ordered, PointcutAdvisor, Serializable

Convenient class for name-match method pointcuts that hold an Advice, making them an Advisor.
Constructor:
 public NameMatchMethodPointcutAdvisor() 
 public NameMatchMethodPointcutAdvisor(Advice advice) 
Method from org.springframework.aop.support.NameMatchMethodPointcutAdvisor Summary:
addMethodName,   getPointcut,   setClassFilter,   setMappedName,   setMappedNames
Methods from org.springframework.aop.support.AbstractGenericPointcutAdvisor:
getAdvice,   setAdvice,   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.NameMatchMethodPointcutAdvisor Detail:
 public NameMatchMethodPointcut addMethodName(String name) 
    Add another eligible method name, in addition to those already named. Like the set methods, this method is for use when configuring proxies, before a proxy is used.
 public Pointcut getPointcut() 
 public  void setClassFilter(ClassFilter classFilter) 
 public  void setMappedName(String mappedName) 
    Convenience method when we have only a single method name to match. Use either this method or setMappedNames, not both.
 public  void setMappedNames(String[] mappedNames) 
    Set the method names defining methods to match. Matching will be the union of all these; if any match, the pointcut matches.