-
Aug 2nd, 2006, 07:01 PM
#1
load-time weaving with AspectJ does not work
Hi
I am using the META-INF/aop.xml file:
<aspectj>
<weaver options="-showWeaveInfo,-XmessageHandlerClass:org.springframework.aop.aspec tj.AspectJWeaverMessageHandler">
<include within="com.mucsillc..*" />
</weaver>
<aspects>
<include
within="errorhandling.FaultHandler" />
</aspects>
</aspectj>
Where the adviced class is com.mucsillc.Server and the advice is errorhandling.FaultHandler
Everything works, except for weaving. What exactly triggers AspectJ to weave?
Thanks.
Janos
Janos
-
Aug 2nd, 2006, 07:46 PM
#2
weaving with AspectJ does work on Java 5
Hi
This works with Tomcat 5.0.28 with Java 5. Is there any way to do runtime weaving on Java 1.4?
Thanks.
Janos
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules