Java 1.4+ regular expression pointcut. JavaBean properties are:
- pattern: Java 1.4 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.
Requires JDK 1.4+, as it builds on the java.util.regex package.
As alternative on JDK 1.3 or for Perl5-style regular expression parsing,
consider Perl5RegexpMethodPointcut.
author: Dmitriy Kopylenko author: Rob Harrop since: 1.1 See Also: Perl5RegexpMethodPointcut |