net.sf.jour.instrumentor
Class MethodExecutionTimeInstrumentor

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

public class MethodExecutionTimeInstrumentor
extends AbstractInstrumentor
implements InstrumentorConsts

Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 46 $ ($Author: vlads $) $Date: 2007-08-28 14:30:40 -0400 (Tue, 28 Aug 2007) $
Author:
vlads

Field Summary
 
Fields inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
log, pointcuts
 
Constructor Summary
MethodExecutionTimeInstrumentor()
           
 
Method Summary
 boolean instrumentClass(javassist.CtClass clazz)
           
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
           
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
           
 
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

MethodExecutionTimeInstrumentor

public MethodExecutionTimeInstrumentor()
Method Detail

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
Specified by:
instrumentClass 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

instrumentConstructor

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


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