瀏覽代碼

precedence doc for concrete-aspect

tags/V1_5_0RC1
avasseur 18 年之前
父節點
當前提交
58a9e244e9
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6
    2
      docs/devGuideDB/ltw.xml

+ 6
- 2
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[

Loading…
取消
儲存