diff --git a/spring-framework-reference/src/aop-api.xml b/spring-framework-reference/src/aop-api.xml index f5acde2dd0..505ca21883 100644 --- a/spring-framework-reference/src/aop-api.xml +++ b/spring-framework-reference/src/aop-api.xml @@ -160,14 +160,11 @@ One obvious way to specify static pointcuts is regular expressions. Several AOP frameworks besides Spring make this possible. - org.springframework.aop.support.Perl5RegexpMethodPointcut - is a generic regular expression pointcut, using Perl 5 regular - expression syntax. The Perl5RegexpMethodPointcut - class depends on Jakarta ORO for regular expression matching. Spring - also provides the JdkRegexpMethodPointcut class - that uses the regular expression support in JDK 1.4+. - - Using the Perl5RegexpMethodPointcut class, + org.springframework.aop.support.JdkRegexpMethodPointcut + is a generic regular expression pointcut, using the regular + expression support in JDK 1.4+. + + Using the JdkRegexpMethodPointcut class, you can provide a list of pattern Strings. If any of these is a match, the pointcut will evaluate to true. (So the result is effectively the union of these pointcuts.) @@ -175,7 +172,7 @@ The usage is shown below: <bean id="settersAndAbsquatulatePointcut" - class="org.springframework.aop.support.Perl5RegexpMethodPointcut"> + class="org.springframework.aop.support.JdkRegexpMethodPointcut"> <property name="patterns"> <list> <value>.*set.*</value>