alt.jiapi
Class MethodInstrumentor

java.lang.Object
  extended by alt.jiapi.MethodInstrumentor
All Implemented Interfaces:
Instrumentor

public abstract class MethodInstrumentor
extends java.lang.Object
implements Instrumentor

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.


Constructor Summary
MethodInstrumentor()
           
 
Method Summary
 void instrument(JiapiClass clazz)
          Implementation of Instrumentor.instrument(JiapiClass).
abstract  void instrument(JiapiMethod m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInstrumentor

public MethodInstrumentor()
Method Detail

instrument

public void instrument(JiapiClass clazz)
                throws InstrumentationException
Implementation of Instrumentor.instrument(JiapiClass). Call instrument(JiapiMethod) for each declared method found from give JiapiClass.

Specified by:
instrument in interface Instrumentor
Throws:
InstrumentationException - is thrown on failure

instrument

public abstract void instrument(JiapiMethod m)
                         throws InstrumentationException
Throws:
InstrumentationException


Copyright © 2001. Documenation generated August 26 2011.