5 Replies Latest reply on Nov 5, 2004 9:50 AM by Bill Burke

    How to get 'caller' object in 'call' type of joinpoint?

    Tomasz Nazar Newbie

      Hi!

      There is part of documentation saying:

      org.jboss.aop.joinpoint.MethodCalledByMethod
      ..This particular class encapsulates a method that is calling another method
      so that you can access the caller and callee


      Well, callee we have with invocation.getTargetObject() (right?), but how can I get caller object? I've whole MethodCalledByMethodInvocation.java in front of me and cannot find it...


      Thanks in advance,
      Tomasz