[aosd-discuss] Scope of AOP..

Atul A Gohad agohad at in.ibm.com
Wed Apr 5 05:15:34 EST 2006


What's the scope of AOP? Is it just the injection of code?

Can we use AOP to modify / evolve the way concern is actually implemented. 


How is something like below acheived using AOP, across the components?

someMethod() {
          MyLogger.debug("Some debug statement"); 
} 

Intention is to modify the above debug method so as to accept additional 
parameters:

someMethod() {
        MyLogger.debug(className, methodName, "Some debug statement");
}

Thanks, 
Atul.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://aosd.net/pipermail/discuss_aosd.net/attachments/20060405/b0a6d9c9/attachment.htm


More information about the discuss mailing list