|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalt.jiapi.InstrumentationContext
public class InstrumentationContext
This class acts as a glue, that binds all the classes needed in instrumentation together. Mainly, it contains a List of InstrumentationDescriptors which define what classes will be instrumented and how.
Constructor Summary | |
---|---|
InstrumentationContext()
Creates a context. |
Method Summary | |
---|---|
void |
addInstrumentationDescriptor(InstrumentationDescriptor id)
Adds an instrumentation descriptor to this context. |
java.util.List |
getDescriptors()
Get a List of InstrumentationDescriptor s added to
this context. |
Loader |
getLoader()
Gets a Loader which is configured with this context. |
void |
instrument(JiapiClass clazz)
Manipulates the class by configured Instrumentors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstrumentationContext()
Method Detail |
---|
public void addInstrumentationDescriptor(InstrumentationDescriptor id)
id
- InstrumentationDescriptorInstrumentationDescriptor
public java.util.List getDescriptors()
InstrumentationDescriptor
s added to
this context.
public Loader getLoader()
public void instrument(JiapiClass clazz)
clazz
- JiapiClass to instrument
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |