Results 1 to 2 of 2

Thread: load-time weaving with AspectJ does not work

  1. #1
    Join Date
    Dec 2005
    Location
    California
    Posts
    63

    Default 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

  2. #2
    Join Date
    Dec 2005
    Location
    California
    Posts
    63

    Default 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
  •