make a method called when other method is called?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lukasz

    #1

    make a method called when other method is called?

    Hey is there a way to make certain method be called whenever any other
    method in my program is called (such global method hook), usable e.g.
    for logging or debugging?

  • Roman Wagner

    #2
    Re: make a method called when other method is called?

    You need some AOP. Take a look at this


    Comment

    • lukasz

      #3
      Re: make a method called when other method is called?

      On Aug 16, 9:07 am, Roman Wagner <roman.wag...@g mail.comwrote:
      You need some AOP. Take a look at thishttp://www.springframe work.net/docs/1.1-RC1/reference/html/aop.html
      Hmm.. that sucks. I think such a framework is too much trouble for my
      GUI app.

      Comment

      Working...