Overview
JADE method tracking enables you to identify a target method to be tracked and to intercept the execution of that method by executing a preamble method before the target method is executed and by executing a postamble method after the target method has returned. There are no coding changes required in the target method for this to happen.
The following diagram shows the flow of execution with and without method tracking taking place.
From the preamble and postamble methods, you can determine the following information.
-
Name of the tracked method
-
Receiver object
-
Parameters
-
Return value