diff options
author | ramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-02 11:17:24 +0000 |
---|---|---|
committer | ramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-02 11:17:24 +0000 |
commit | eed639ccf7fd95e0b31caf61787126e69592f207 (patch) | |
tree | 401cafc53175c67ac1aea5398986400b416bcde3 /branches/sca-java-1.4/modules/tracing-aspectj/src/main/resources/META-INF/aop.xml | |
parent | e2af7d8b2dc498e63375fec8d97186dc261a428f (diff) |
Branch for 1.4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@722428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.4/modules/tracing-aspectj/src/main/resources/META-INF/aop.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/branches/sca-java-1.4/modules/tracing-aspectj/src/main/resources/META-INF/aop.xml b/branches/sca-java-1.4/modules/tracing-aspectj/src/main/resources/META-INF/aop.xml new file mode 100644 index 0000000000..f699a140e3 --- /dev/null +++ b/branches/sca-java-1.4/modules/tracing-aspectj/src/main/resources/META-INF/aop.xml @@ -0,0 +1,25 @@ +<aspectj> + + <aspects> + <!-- Uncomment either of these two aspects to perform standard logging --> + <!-- or standard tracing on the Tuscany runtime. --> + <!-- <aspect name="org.apache.tuscany.sca.aspectj.SimpleTracingAspect" /> --> + <!-- <aspect name="org.apache.tuscany.sca.aspectj.LoggingAspect" /> --> + + <!-- Following is a concrete-aspect that defines the point cut for --> + <!-- the TimingAspect. Which ever calls you define in this pointcut --> + <!-- will be timed and displayed in the logs. --> + <concrete-aspect name="org.apache.tuscany.sca.aspectj.UserTimingAspect" + extends="org.apache.tuscany.sca.aspectj.TimingAspect" + precedence="org.apache.tuscany.sca.aspectj.UserTimingAspect, *"> + <pointcut name="timedCall" + expression="call(* java.util.logging.Logger.info(..))"/> + </concrete-aspect> + </aspects> + + <!--weaver options="-verbose -debug -showWeaveInfo"--> + <weaver options="-verbose"> + <include within="org.apache.tuscany.sca..*" /> + </weaver> + +</aspectj> |