open class NameMatchMethodPointcut : StaticMethodMatcherPointcut, Serializable
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.
Author
Juergen Hoeller
Author
Rod Johnson
Author
Rob Harrop
Since
11.02.2004
See Also
#isMatch
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. |
open fun addMethodName(name: String): NameMatchMethodPointcut
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. |
|
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun matches(method: Method, targetClass: Class<*>): Boolean |
|
open fun setMappedName(mappedName: String): Unit
Convenience method when we have only a single method name to match. Use either this method or |
|
open fun setMappedNames(vararg mappedNames: String): Unit
Set the method names defining methods to match. Matching will be the union of all these; if any match, the pointcut matches. |