Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To find a way, to modify this classes, the moment has to be identified and moved, when the Pico container is initializing the classes. To be able to work on the RMI classes the execution of the Ignore Pattern, that the agent uses to filter classes that shouldn't be instrumented, is moved before the Pico container PicoContainer starts initialization.

To instrument the RMI classes an additional agent (Tracing agent) is implemented, that runs and modifies the classes, before the actual InspectIT agent starts.

...

The Tracing Agent also runs an ignore check.
TODO: Check this
All already collected invocation data will could be added and send with the RMI. This could lead to high memory and network consumption, because the collected data can get really big.

For RMI Tracking the marshall() and unmarshall() methods are modified, so that the current Invocation Identifier is also transmitted (Stream Injection).

...

The run() method is instrumented and the ThreadLocal is set with RunnableReflection on the current runnable.