| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractGenericPointcutAdvisor
org.springframework.aop.support.NameMatchMethodPointcutAdvisor
public class NameMatchMethodPointcutAdvisor
Convenient class for name-match method pointcuts that hold an Advice, making them an Advisor.
NameMatchMethodPointcut, 
Serialized Form| Field Summary | 
|---|
| Fields inherited from interface org.springframework.core.Ordered | 
|---|
| HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE | 
| Constructor Summary | |
|---|---|
| NameMatchMethodPointcutAdvisor() | |
| NameMatchMethodPointcutAdvisor(Advice advice) | |
| Method Summary | |
|---|---|
|  NameMatchMethodPointcut | addMethodName(String name)Add another eligible method name, in addition to those already named. | 
|  Pointcut | getPointcut()Get the Pointcut that drives this advisor. | 
|  void | setClassFilter(ClassFilter classFilter)Set the ClassFilterto use for this pointcut. | 
|  void | setMappedName(String mappedName)Convenience method when we have only a single method name to match. | 
|  void | setMappedNames(String[] mappedNames)Set the method names defining methods to match. | 
| Methods inherited from class org.springframework.aop.support.AbstractGenericPointcutAdvisor | 
|---|
| getAdvice, setAdvice, toString | 
| Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor | 
|---|
| equals, getOrder, hashCode, isPerInstance, setOrder | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public NameMatchMethodPointcutAdvisor()
public NameMatchMethodPointcutAdvisor(Advice advice)
| Method Detail | 
|---|
public void setClassFilter(ClassFilter classFilter)
ClassFilter to use for this pointcut.
 Default is ClassFilter.TRUE.
StaticMethodMatcherPointcut.setClassFilter(org.springframework.aop.ClassFilter)public void setMappedName(String mappedName)
setMappedNames, not both.
setMappedNames(java.lang.String[]), 
NameMatchMethodPointcut.setMappedName(java.lang.String)public void setMappedNames(String[] mappedNames)
NameMatchMethodPointcut.setMappedNames(java.lang.String[])public NameMatchMethodPointcut addMethodName(String name)
name - name of the additional method that will match
NameMatchMethodPointcut.addMethodName(java.lang.String)public Pointcut getPointcut()
PointcutAdvisor
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||