public class JdkRegexpMethodPointcut extends AbstractRegexpMethodPointcut
java.util.regex package.
Supports the following JavaBean properties:
Note: the regular expressions must be a match. For example,
.*get.* will match com.mycom.Foo.getBar().
get.* will not.
TRUE| 构造器和说明 |
|---|
JdkRegexpMethodPointcut() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
initExcludedPatternRepresentation(String[] excludedPatterns)
Initialize exclusion
Patterns from the supplied String[]. |
protected void |
initPatternRepresentation(String[] patterns)
Initialize
Patterns from the supplied String[]. |
protected boolean |
matches(String pattern,
int patternIndex)
|
protected boolean |
matchesExclusion(String candidate,
int patternIndex)
|
equals, getExcludedPatterns, getPatterns, hashCode, matches, matchesPattern, setExcludedPattern, setExcludedPatterns, setPattern, setPatterns, toStringgetClassFilter, getMethodMatcher, setClassFilterisRuntime, matchesprotected void initPatternRepresentation(String[] patterns) throws PatternSyntaxException
Patterns from the supplied String[].initPatternRepresentation 在类中 AbstractRegexpMethodPointcutpatterns - the patterns to initializePatternSyntaxExceptionprotected void initExcludedPatternRepresentation(String[] excludedPatterns) throws PatternSyntaxException
Patterns from the supplied String[].initExcludedPatternRepresentation 在类中 AbstractRegexpMethodPointcutexcludedPatterns - the patterns to initializePatternSyntaxExceptionprotected boolean matches(String pattern, int patternIndex)
matches 在类中 AbstractRegexpMethodPointcutpattern - the String pattern to matchpatternIndex - index of pattern (starting from 0)true if there is a match, false otherwiseprotected boolean matchesExclusion(String candidate, int patternIndex)
matchesExclusion 在类中 AbstractRegexpMethodPointcutcandidate - the String pattern to matchpatternIndex - index of pattern (starting from 0)true if there is a match, false otherwise