1 Reply Latest reply on Jul 12, 2005 6:56 AM by kabirkhan

    Tracking an object

    oberon777

      Is there a simple way to track all method calls on a particular object?

      For example, suppose I am interested what happens to objects that are returned as the result of Class.forName(..) and I want to record all method calls happening on them.

      I suppose tracking ALL calls is easy, but how do I make it so that the constraint that the object in question is the return result of Class.forName(..) is part of the pointcut expression. Thanks.