org.codehaus.aspectwerkz.hook.impl
Class StdoutPreProcessor

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

public class StdoutPreProcessor
extends java.lang.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(java.util.Hashtable hashtable)
           
static void main(java.lang.String[] args)
           
 byte[] preProcess(java.lang.String klass, byte[] abyte, java.lang.ClassLoader caller)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdoutPreProcessor

public StdoutPreProcessor()
Method Detail

initialize

public void initialize(java.util.Hashtable hashtable)
Specified by:
initialize in interface ClassPreProcessor

preProcess

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

main

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


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.