Class JdkRegexpMethodPointcut

  • All Implemented Interfaces:
    Serializable, MethodMatcher, Pointcut

    public class JdkRegexpMethodPointcut
    extends AbstractRegexpMethodPointcut
    Regular expression pointcut based on the java.util.regex package. Supports the following JavaBean properties:
    • pattern: regular expression for the fully-qualified method names to match
    • patterns: alternative property taking a String array of patterns. The result will be the union of these patterns.

    Note: the regular expressions must be a match. For example, .*get.* will match com.mycom.Foo.getBar(). get.* will not.

    Since:
    1.1
    Author:
    Dmitriy Kopylenko, Rob Harrop
    See Also:
    Serialized Form