aboutsummaryrefslogtreecommitdiffstats
path: root/docs/devGuideDB/ltw.xml
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-10-27 09:50:55 +0000
committeravasseur <avasseur>2005-10-27 09:50:55 +0000
commit58a9e244e9cab502ae6eb7f6eb2677e148e330fc (patch)
treea620aabee5ec22d44df444aedd6f8899f226cf66 /docs/devGuideDB/ltw.xml
parente7abe5fbd4b27fa87ec2e1f3cf3598f50bd4d32a (diff)
downloadaspectj-58a9e244e9cab502ae6eb7f6eb2677e148e330fc.tar.gz
aspectj-58a9e244e9cab502ae6eb7f6eb2677e148e330fc.zip
precedence doc for concrete-aspect
Diffstat (limited to 'docs/devGuideDB/ltw.xml')
-rw-r--r--docs/devGuideDB/ltw.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/devGuideDB/ltw.xml b/docs/devGuideDB/ltw.xml
index 09ac6520c..45c98d712 100644
--- a/docs/devGuideDB/ltw.xml
+++ b/docs/devGuideDB/ltw.xml
@@ -161,7 +161,9 @@
<aspect name="com.MyAspect.Inner"/>
<!-- define a concrete aspect inline -->
- <concrete-aspect name="com.xyz.tracing.MyTracing" extends="tracing.AbstractTracing">
+ <concrete-aspect name="com.xyz.tracing.MyTracing"
+ extends="tracing.AbstractTracing"
+ precedence="com.xyz.first, *">
<pointcut name="tracingScope" expression="within(org.maw.*)"/>
</concrete-aspect>
@@ -271,7 +273,9 @@
<title>Using Concrete Aspects</title>
<para>
It is possible to concretize an abstract aspect by the mean of the <literal>META-INF/aop.xml</literal>
- file. This is usefull to define abstract pointcuts at deployment time.
+ file. This is usefull to define abstract pointcuts at deployment time, and also gives control
+ over precedence through the <literal>precedence</literal> attribute of the
+ <literal>concrete-aspect</literal> XML element.
Consider the following:
</para>
<programlisting><![CDATA[