diff options
Diffstat (limited to 'docs/adk15ProgGuideDB/ataspectj.xml')
-rw-r--r-- | docs/adk15ProgGuideDB/ataspectj.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/adk15ProgGuideDB/ataspectj.xml b/docs/adk15ProgGuideDB/ataspectj.xml index b3986ef90..febf50033 100644 --- a/docs/adk15ProgGuideDB/ataspectj.xml +++ b/docs/adk15ProgGuideDB/ataspectj.xml @@ -323,13 +323,13 @@ System.out.println("phew"); } - @AfterReturning(value="call(Foo+.new(..))",returning="f") + @AfterReturning(pointcut="call(Foo+.new(..))",returning="f") public void itsAFoo(Foo f) { System.out.println("It's a Foo: " + f); } ]]></programlisting> - <para>(Note the need for the "value=" prefix in front of the pointcut + <para>(Note the use of the "pointcut=" prefix in front of the pointcut expression in the returning case).</para> <para>After throwing advice works in a similar fashion, using the |