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.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

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