Skip to content
Ignacio del Valle Alles edited this page Jan 21, 2020 · 9 revisions

These are the main abstractions in the bctrace model:

AgentFactory

The AgentFactory interface is the entry point for extending agents. The name of the implementing class must be specified through the classloader resource .bctrace

Agent

The Agent interface defines two life-cycle methods (init and afterRegistration) and the instrumentation hooks.

Hook

Hooks are the main instrumentation abstraction. They define where the instrumentation is inserted into (via the filter abstractions), and what action to perform (via the listener ones) when the target code is executed.

Clone this wiki locally