net.sf.jour
Class Interceptor

java.lang.Object
  extended by net.sf.jour.Interceptor

public class Interceptor
extends java.lang.Object

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

Version:
$Revision: 25 $ ($Author: vlads $) $Date: 2006-12-14 13:53:25 -0500 (Thu, 14 Dec 2006) $
Author:
michaellif

Constructor Summary
Interceptor(Config config, javassist.ClassPool pool, java.lang.String className, Instrumentor[] instrumentors)
          Creates a new Interceptor object.
 
Method Summary
 InstrumentorResults getInstrumentorResults()
           
 javassist.CtClass instrument()
           
 byte[] instrument(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interceptor

public Interceptor(Config config,
                   javassist.ClassPool pool,
                   java.lang.String className,
                   Instrumentor[] instrumentors)
            throws InterceptorException
Creates a new Interceptor object.

Throws:
InterceptorException
Method Detail

instrument

public byte[] instrument(byte[] bytes)
                  throws InterceptorException
Throws:
InterceptorException

instrument

public javassist.CtClass instrument()
                             throws InterceptorException
Throws:
InterceptorException

getInstrumentorResults

public InstrumentorResults getInstrumentorResults()
Returns:
Returns the Results.


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