| Interface | Description |
|---|---|
| Instrumentor |
Interface for Instrumentors.
|
| Class | Description |
|---|---|
| InstrumentationContext |
This class acts as a glue, that binds all the classes needed in
instrumentation together.
|
| InstrumentationDescriptor |
This class holds information needed by the instrumentation process.
|
| MethodInstrumentor |
This class is a simple implementation of Instrumentor,
that gets all the declared methods of the target class,
and forwards instrumentation to
instrument(JiapiMethod)
method. |
| Rule |
Implements a Rule in an InstrumentationDescriptor.
|
| Runtime |
This class is a class that holds mainly static common methods,
which are used by other Jiapi classes.
|
| Exception | Description |
|---|---|
| InstrumentationException |
Class IllegalInstrumentationException.
|
| JiapiException |
Root exception for Jiapi exceptions.
|
This package contains the core classes and interfaces that are used by Jiapi. Most typical usage of this package is to create a InstrumentationContext and name the classes and methods that need to be instrumented.
A Loader, which will create instances of JiapiClass, can be obtained from that context. A dedicated ClassLoader, InstrumetingClassLoader, is provided as an example, which uses this Loader to instrument classes while they are being loaded.
This package is based on alt.jiapi.reflect package, and
creates a higher level of abstration to bytecode manipulation.
Copyright © 2001. Documenation generated January 12 2013.