net.sf.jour.instrumentor
Class ReplaceMethodInstrumentor

java.lang.Object
  extended by net.sf.jour.instrumentor.AbstractInstrumentor
      extended by net.sf.jour.instrumentor.ReplaceMethodInstrumentor
All Implemented Interfaces:
Instrumentor

public class ReplaceMethodInstrumentor
extends AbstractInstrumentor


Field Summary
 
Fields inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
log, pointcuts
 
Constructor Summary
ReplaceMethodInstrumentor()
           
 
Method Summary
 void code(java.lang.String code)
           
 boolean instrumentClass(javassist.CtClass clazz)
           
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
           
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
           
 void oldMethodSufix(java.lang.String oldMethodSufix)
           
 
Methods inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
classCreated, instrument, setPointcuts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceMethodInstrumentor

public ReplaceMethodInstrumentor()
Method Detail

code

public void code(java.lang.String code)

oldMethodSufix

public void oldMethodSufix(java.lang.String oldMethodSufix)

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
Specified by:
instrumentClass in class AbstractInstrumentor
Throws:
InterceptorException

instrumentConstructor

public boolean instrumentConstructor(javassist.CtClass clazz,
                                     javassist.CtConstructor constructor)
                              throws InterceptorException
Specified by:
instrumentConstructor in class AbstractInstrumentor
Throws:
InterceptorException

instrumentMethod

public boolean instrumentMethod(javassist.CtClass clazz,
                                javassist.CtMethod method)
                         throws InterceptorException
Specified by:
instrumentMethod in class AbstractInstrumentor
Throws:
InterceptorException


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.