removed references to Perl5RegexpMethodPointcut (SPR-6721)
This commit is contained in:
parent
6ffb750171
commit
1896efd048
|
@ -160,14 +160,11 @@
|
||||||
<para>One obvious way to specify static pointcuts is regular
|
<para>One obvious way to specify static pointcuts is regular
|
||||||
expressions. Several AOP frameworks besides Spring make this
|
expressions. Several AOP frameworks besides Spring make this
|
||||||
possible.
|
possible.
|
||||||
<literal>org.springframework.aop.support.Perl5RegexpMethodPointcut</literal>
|
<literal>org.springframework.aop.support.JdkRegexpMethodPointcut</literal>
|
||||||
is a generic regular expression pointcut, using Perl 5 regular
|
is a generic regular expression pointcut, using the regular
|
||||||
expression syntax. The <literal>Perl5RegexpMethodPointcut</literal>
|
expression support in JDK 1.4+.</para>
|
||||||
class depends on Jakarta ORO for regular expression matching. Spring
|
|
||||||
also provides the <literal>JdkRegexpMethodPointcut</literal> class
|
|
||||||
that uses the regular expression support in JDK 1.4+.</para>
|
|
||||||
|
|
||||||
<para>Using the <literal>Perl5RegexpMethodPointcut</literal> class,
|
<para>Using the <literal>JdkRegexpMethodPointcut</literal> class,
|
||||||
you can provide a list of pattern Strings. If any of these is a
|
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
|
match, the pointcut will evaluate to true. (So the result is
|
||||||
effectively the union of these pointcuts.)</para>
|
effectively the union of these pointcuts.)</para>
|
||||||
|
@ -175,7 +172,7 @@
|
||||||
<para>The usage is shown below:</para>
|
<para>The usage is shown below:</para>
|
||||||
|
|
||||||
<para><programlisting language="xml"><bean id="settersAndAbsquatulatePointcut"
|
<para><programlisting language="xml"><bean id="settersAndAbsquatulatePointcut"
|
||||||
class="org.springframework.aop.support.Perl5RegexpMethodPointcut">
|
class="org.springframework.aop.support.JdkRegexpMethodPointcut">
|
||||||
<property name="patterns">
|
<property name="patterns">
|
||||||
<list>
|
<list>
|
||||||
<value>.*set.*</value>
|
<value>.*set.*</value>
|
||||||
|
|
Loading…
Reference in New Issue