Results 1 to 4 of 4

Thread: How to verify woven code

  1. #1

    Default How to verify woven code

    Hi

    Have a rudeimentary question.

    How to determine at runtime if a class is woven? I'm using AspectJ with Spring JVM agent for load time weaving.

    Thanks
    Chandru

  2. #2
    Join Date
    Jul 2010
    Location
    Venice, Italy
    Posts
    709

    Default

    a System.out.println inside the aspect code perhaps?

  3. #3

    Default

    Since I don't have access to the source code that is being weaved, would like to a way to validate this dynamically

  4. #4
    Join Date
    Jul 2010
    Location
    Venice, Italy
    Posts
    709

    Default

    Ok...then set log4j level to debug for AspectJ and Spring packages, and read the produced log when the woven classes are loaded.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •