-
Notifications
You must be signed in to change notification settings - Fork 4
API
Ignacio del Valle Alles edited this page Jan 21, 2020
·
9 revisions
These are the main abstractions in the bctrace
model:
The AgentFactory
interface is the entry point for extending agents. The name of the implementing class must be specified through the classloader resource .bctrace
The Agent
interface defines two life-cycle methods (init
and afterRegistration
) and the instrumentation hooks.
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.