Introduction to Aspect-Oriented Programming
Subject:   help needed
Date:   2004-12-06 05:11:42
From:   shreekanthdeshpande
how can i implement logging of entering an exitting all the methods.
Full Threads Newest First

Showing messages 1 through 2 of 2.

  • help needed
    2004-12-06 06:41:49  grahamoregan [View]

    In the example above, any code that occurs above joinPoint.proceed() in the execute method will be performed before the method is invoked and anything that occurs below will happen after. So you could use"Entering");

    You can also use the joinPoint to get the name of the calling class and method and change the logging statements to reflect the real location.


    • help needed
      2004-12-06 22:19:10  shreekanthdeshpande [View]

      thanx Graham
      your valuable suggestion worked out and its really nic to see thing working.
      thanx once again