[jboss-cvs] JBossAS SVN: r63464 - projects/aop/trunk/aop/docs/reference/reference/en/modules.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jun 11 22:39:07 EDT 2007
Author: flavia.rainone at jboss.com
Date: 2007-06-11 22:39:07 -0400 (Mon, 11 Jun 2007)
New Revision: 63464
Modified:
projects/aop/trunk/aop/docs/reference/reference/en/modules/advices.xml
Log:
[JBAOP-44] Replaced ← (not recognized in pdf) by <![CDATA[<-]]>
Modified: projects/aop/trunk/aop/docs/reference/reference/en/modules/advices.xml
===================================================================
--- projects/aop/trunk/aop/docs/reference/reference/en/modules/advices.xml 2007-06-12 02:30:52 UTC (rev 63463)
+++ projects/aop/trunk/aop/docs/reference/reference/en/modules/advices.xml 2007-06-12 02:39:07 UTC (rev 63464)
@@ -568,10 +568,10 @@
as follows:
</para>
<programlisting>
-param0 ← arg0
-param1 ← arg1
-param2 ← arg2
-param3 ← arg3
+param0 <![CDATA[<-]]> arg0
+param1 <![CDATA[<-]]> arg1
+param2 <![CDATA[<-]]> arg2
+param3 <![CDATA[<-]]> arg3
</programlisting>
<para>
The matching outcome will be the same if <literal>MyAspect.advice()</literal> signature changes slightly in the following
@@ -598,7 +598,7 @@
The parameter matching outcome will be:
</para>
<programlisting>
-param0 ← arg0
+param0 <![CDATA[<-]]> arg0
</programlisting>
<para>
Since there is no joinpoint argument of type <literal>Object</literal>, we proceed to the additional
@@ -630,7 +630,7 @@
It will not work as desired. JBoss AOP will assign <literal>arg0</literal> to <literal>param1</literal>:
</para>
<programlisting>
-param1 ← arg0
+param1 <![CDATA[<-]]> arg0
</programlisting>
<para>
In cases like this, it is possible to enforce the correct matching of joinpoint arguments and
@@ -651,7 +651,7 @@
Will have the desired matching, which is:
</para>
<programlisting>
-param1 ← arg1
+param1 <![CDATA[<-]]> arg1
</programlisting>
<para>
In the example just shown in this section, <literal>MyAspect.advice()</literal> was a before advice,
More information about the jboss-cvs-commits
mailing list