Package alt.jiapi

High level instrumentation API.

See:
          Description

Interface Summary
Instrumentor Interface for Instrumentors.
 

Class Summary
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 Summary
InstrumentationException Class IllegalInstrumentationException.
JiapiException Root exception for Jiapi exceptions.
 

Package alt.jiapi Description

High level instrumentation API.

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 August 26 2011.