net.sf.jour.instrumentor
Class ProfilerInstrumentor

java.lang.Object
  extended bynet.sf.jour.instrumentor.AbstractInstrumentor
      extended bynet.sf.jour.instrumentor.ProfilerInstrumentor
All Implemented Interfaces:
Instrumentor, InstrumentorConsts
Direct Known Subclasses:
ProfilerContextInstrumentor

public class ProfilerInstrumentor
extends AbstractInstrumentor
implements InstrumentorConsts

TODO add docs Created on 02.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.12 $ ($Author: vlads $) $Date: 2004/12/13 06:19:10 $
Author:
michaellif

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
ProfilerInstrumentor()
           
 
Method Summary
 java.lang.String getMapedEventID(javassist.CtBehavior behavior, long id)
           
 boolean instrumentClass(javassist.CtClass clazz)
          DOCUMENT ME!
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
          DOCUMENT ME!
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
          DOCUMENT ME!
 
Methods inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
getCountCounstructors, getCountMethods, instrument, setPointcuts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
Constructor Detail

ProfilerInstrumentor

public ProfilerInstrumentor()
Method Detail

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentClass in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

instrumentMethod

public boolean instrumentMethod(javassist.CtClass clazz,
                                javassist.CtMethod method)
                         throws InterceptorException
Description copied from class: AbstractInstrumentor
DOCUMENT ME!

Specified by:
instrumentMethod in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
method - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

instrumentConstructor

public boolean instrumentConstructor(javassist.CtClass clazz,
                                     javassist.CtConstructor constructor)
                              throws InterceptorException
Description copied from class: AbstractInstrumentor
DOCUMENT ME!

Specified by:
instrumentConstructor in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
constructor - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

getMapedEventID

public java.lang.String getMapedEventID(javassist.CtBehavior behavior,
                                        long id)


Copyright © 2004 sourceforge. All Rights Reserved.