[jboss-cvs] JBossAS SVN: r63012 - projects/aop/trunk/aop/docs/reference/reference/en/modules.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri May 11 19:31:52 EDT 2007
Author: flavia.rainone at jboss.com
Date: 2007-05-11 19:31:52 -0400 (Fri, 11 May 2007)
New Revision: 63012
Modified:
projects/aop/trunk/aop/docs/reference/reference/en/modules/pointcuts.xml
Log:
[JBAOP-44] Last session of chapter
Modified: projects/aop/trunk/aop/docs/reference/reference/en/modules/pointcuts.xml
===================================================================
--- projects/aop/trunk/aop/docs/reference/reference/en/modules/pointcuts.xml 2007-05-11 22:56:51 UTC (rev 63011)
+++ projects/aop/trunk/aop/docs/reference/reference/en/modules/pointcuts.xml 2007-05-11 23:31:52 UTC (rev 63012)
@@ -479,7 +479,39 @@
In both groups there is a specific type for each joinpoint type. The type of bean corresponding to each joinpoint type can be seen
in <xref linkend="joinpointtypes"/>. All beans are in the package <literal>org.jboss.aop.joinpoint</literal>.
</para>
-
+ </sect2>
+ <sect2 id="contextvalues" revision="1">
+ <title>Context Values</title>
+ <para>
+ According to the type of the joinpoint, there are specific context values available.
+ </para>
+ <para>
+ The context values are:
+ </para>
+ <itemizedlist>
+ <listitem>
+ return value: joinpoints like a constructor execution or a non-void method call, have a return value.
+ </listitem>
+ <listitem>
+ arguments: the arguments of a constructor or method execution joinpoint are the arguments received
+ by the constructor or method. Similarly, the arguments of a call are the arguments received by the
+ method or constructor being called.
+ </listitem>
+ <listitem>
+ target: the target object of a joinpoint varies according to the joinpoint type. For method
+ executions and calls, it refers to the object whose method is being executed (available only
+ on non-static methods). For field reads and writes, it refers to the object that contains that
+ field.
+ </listitem>
+ <listitem>
+ caller: the caller object is available only on call joinpoints, and it refers to the object
+ whose method or constructor is performing the call (notice the caller object is not available if
+ the call is inside a static method).
+ </listitem>
+ </itemizedlist>
+ <para>
+ <xref linkend="joinpointtypes"/> shows what context values may be available depending on the joinpoint type.
+ </para>
<table frame="topbot" id="joinpointtypes">
<title>
Joinpoint Types Table
More information about the jboss-cvs-commits
mailing list