| java.lang.Object | |||
| ↳ | org.springframework.aop.support.StaticMethodMatcher | ||
| ↳ | org.springframework.aop.support.StaticMethodMatcherPointcut | ||
| ↳ | org.springframework.aop.support.NameMatchMethodPointcut | ||
Pointcut bean for simple method name matches, as alternative to regexp patterns. Does not handle overloaded methods: all methods *with a given name will be eligible.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add another eligible method name, in addition to those already named.
| |||||||||||
Convenience method when we have only a single method name to match.
| |||||||||||
Set the method names defining methods to match.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return if the given method name matches the mapped name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.support.StaticMethodMatcherPointcut
| |||||||||||
From class
org.springframework.aop.support.StaticMethodMatcher
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
| |||||||||||
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.
NB: This method does not work after the proxy is in use, as advice chains will be cached.
| name | name of the additional method that will match |
|---|
Convenience method when we have only a single method name to match.
Use either this method or setMappedNames, not both.
Set the method names defining methods to match. Matching will be the union of all these; if any match, the pointcut matches.
Return if the given method name matches the mapped name.
The default implementation checks for "xxx*", "*xxx" and "*xxx*" matches, as well as direct equality. Can be overridden in subclasses.
| methodName | the method name of the class |
|---|---|
| mappedName | the name in the descriptor |