java.lang.Object | |||
↳ | org.springframework.aop.support.StaticMethodMatcher | ||
↳ | org.springframework.aop.support.StaticMethodMatcherPointcut | ||
↳ | org.springframework.aop.support.AbstractRegexpMethodPointcut |
Known Direct Subclasses |
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 in this class will be invoked again on the client side on deserialization.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the regular expressions for exclusion matching.
| |||||||||||
Return the regular expressions for method matching.
| |||||||||||
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.
| |||||||||||
Convenience method when we have only a single exclusion pattern.
| |||||||||||
Set the regular expressions defining methods to match for exclusion.
| |||||||||||
Convenience method when we have only a single pattern.
| |||||||||||
Set the regular expressions defining methods to match.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Subclasses must implement this to initialize regexp pointcuts.
| |||||||||||
Subclasses must implement this to initialize regexp pointcuts.
| |||||||||||
Does the pattern at the given index match this string?
| |||||||||||
Does the exclusion pattern at the given index match this string?
| |||||||||||
Match the specified candidate against the configured patterns.
|
[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
|
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.
Convenience method when we have only a single exclusion pattern.
Use either this method or setExcludedPatterns(String[])
, not both.
Set the regular expressions defining methods to match for exclusion. Matching will be the union of all these; if any match, the pointcut matches.
Convenience method when we have only a single pattern.
Use either this method or setPatterns(String[])
, not both.
Set the regular expressions defining methods to match. Matching will be the union of all these; if any match, the pointcut matches.
Subclasses must implement this to initialize regexp pointcuts. Can be invoked multiple times.
This method will be invoked from the setExcludedPatterns(String[])
method,
and also on deserialization.
patterns | the patterns to initialize |
---|
IllegalArgumentException | in case of an invalid pattern |
---|
Subclasses must implement this to initialize regexp pointcuts. Can be invoked multiple times.
This method will be invoked from the setPatterns(String[])
method,
and also on deserialization.
patterns | the patterns to initialize |
---|
IllegalArgumentException | in case of an invalid pattern |
---|
Does the pattern at the given index match this string?
pattern | String pattern to match |
---|---|
patternIndex | index of pattern from 0 |
true
if there is a match, else false
.
Does the exclusion pattern at the given index match this string?
pattern | String pattern to match. |
---|---|
patternIndex | index of pattern starting from 0. |
true
if there is a match, else false
.
Match the specified candidate against the configured patterns.
signatureString | "java.lang.Object.hashCode" style signature |
---|