abstract class AbstractRegexpMethodPointcut : StaticMethodMatcherPointcut, Serializable
Abstract base regular expression pointcut bean. JavaBean properties are:
Note: the regular expressions must be a match. For example, .*get.* will match com.mycom.Foo.getBar(). get.* will not.
This base class is serializable. Subclasses should declare all fields transient; the #initPatternRepresentation method will be invoked again on deserialization.
Author
Rod Johnson
Author
Juergen Hoeller
Author
Rob Harrop
Since
1.1
See Also
JdkRegexpMethodPointcut
AbstractRegexpMethodPointcut()
Abstract base regular expression pointcut bean. JavaBean properties are:
Note: the regular expressions must be a match. For example, This base class is serializable. Subclasses should declare all fields transient; the |
open fun equals(other: Any?): Boolean |
|
open fun getExcludedPatterns(): Array<String>
Returns the regular expressions for exclusion matching. |
|
open fun getPatterns(): Array<String>
Return the regular expressions for method matching. |
|
open fun hashCode(): Int |
|
open fun matches(method: Method, targetClass: Class<*>): Boolean
Try to match the regular expression against the fully qualified name of the target class as well as against the method's declaring class, plus the name of the method. |
|
open fun setExcludedPattern(excludedPattern: String): Unit
Convenience method when we have only a single exclusion pattern. Use either this method or |
|
open fun setExcludedPatterns(vararg excludedPatterns: String): Unit
Set the regular expressions defining methods to match for exclusion. Matching will be the union of all these; if any match, the pointcut matches. |
|
open fun setPattern(pattern: String): Unit
Convenience method when we have only a single pattern. Use either this method or |
|
open fun setPatterns(vararg patterns: String): Unit
Set the regular expressions defining methods to match. Matching will be the union of all these; if any match, the pointcut matches. |
|
open fun toString(): String |
open class JdkRegexpMethodPointcut : AbstractRegexpMethodPointcut
Regular expression pointcut based on the
Note: the regular expressions must be a match. For example, |