Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Aspect Oriented Programming

Options
  • 27-10-2010 4:42pm
    #1
    Registered Users Posts: 101 ✭✭


    Hi guys,

    I'm trying to get my head around AOP. I've done tutorials and read up on it but cant get the answers I want. Basically I understand the concept of cross cutting concerns and managed to implement using aspectJ in eclipse on a method of my own.

    However what I want to know is can I use AOP to intercept log4j statements? For example if I have logging statements throughtout my code can I write an aspect/pointcut to let me know each time a log statement is executed and possibly view the string within the log statement?

    Thanks


Advertisement