Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » support » [javadoc | source]
org.springframework.aop.support
public class: JdkRegexpMethodPointcut [javadoc | source]
java.lang.Object
   org.springframework.aop.support.StaticMethodMatcher
      org.springframework.aop.support.StaticMethodMatcherPointcut
         org.springframework.aop.support.AbstractRegexpMethodPointcut
            org.springframework.aop.support.JdkRegexpMethodPointcut

All Implemented Interfaces:
    Serializable, Pointcut, MethodMatcher

Regular expression pointcut based on the 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.

Method from org.springframework.aop.support.JdkRegexpMethodPointcut Summary:
initExcludedPatternRepresentation,   initPatternRepresentation,   matches,   matchesExclusion
Methods from org.springframework.aop.support.AbstractRegexpMethodPointcut:
equals,   getExcludedPatterns,   getPatterns,   hashCode,   initExcludedPatternRepresentation,   initPatternRepresentation,   matches,   matches,   matchesExclusion,   matchesPattern,   setExcludedPattern,   setExcludedPatterns,   setPattern,   setPatterns,   toString
Methods from org.springframework.aop.support.StaticMethodMatcherPointcut:
getClassFilter,   getMethodMatcher,   setClassFilter
Methods from org.springframework.aop.support.StaticMethodMatcher:
isRuntime,   matches
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.support.JdkRegexpMethodPointcut Detail:
 protected  void initExcludedPatternRepresentation(String[] excludedPatterns) throws IllegalArgumentException 
    Initialize exclusion Patterns from the supplied String[].
 protected  void initPatternRepresentation(String[] patterns) throws PatternSyntaxException 
    Initialize Patterns from the supplied String[].
 protected boolean matches(String pattern,
    int patternIndex) 
    Returns true if the Pattern at index patternIndex matches the supplied candidate String.
 protected boolean matchesExclusion(String candidate,
    int patternIndex) 
    Returns true if the exclusion Pattern at index patternIndex matches the supplied candidate String.