com.scooterframework.autoloader
Class ClassWork

java.lang.Object
  extended by com.scooterframework.autoloader.ClassWork

public class ClassWork
extends java.lang.Object

ClassWork class knows how to modify class byte codes.


Field Summary
protected  LogUtil log
           
 
Constructor Summary
ClassWork(java.lang.ClassLoader cl)
           
 
Method Summary
 java.lang.Class<?> changeClass(java.lang.String className)
           
 byte[] changeClassBytes(java.lang.String className, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected LogUtil log
Constructor Detail

ClassWork

public ClassWork(java.lang.ClassLoader cl)
Method Detail

changeClass

public java.lang.Class<?> changeClass(java.lang.String className)
                               throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

changeClassBytes

public byte[] changeClassBytes(java.lang.String className,
                               byte[] bytes)
                        throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException