org.codehaus.aspectwerkz.hook.impl
Class StdoutPreProcessor

java.lang.Object
  extended by org.codehaus.aspectwerkz.hook.impl.StdoutPreProcessor
All Implemented Interfaces:
ClassPreProcessor

public class StdoutPreProcessor
extends Object
implements ClassPreProcessor

A simple implementation of class preprocessor.

It does not modify the bytecode. It just prints on stdout some messages.

Author:
Alexandre Vasseur

Constructor Summary
StdoutPreProcessor()
           
 
Method Summary
 void initialize()
           
static void main(String[] args)
           
 byte[] preProcess(String klass, byte[] abyte, ClassLoader caller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdoutPreProcessor

public StdoutPreProcessor()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface ClassPreProcessor

preProcess

public byte[] preProcess(String klass,
                         byte[] abyte,
                         ClassLoader caller)
Specified by:
preProcess in interface ClassPreProcessor

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.