biz.hammurapi.codegen
Class InjectingClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by biz.hammurapi.codegen.InjectingClassLoader
All Implemented Interfaces:
Consumer

public class InjectingClassLoader
extends java.lang.ClassLoader
implements Consumer

Injects generated classes.

Version:
$Revision: 1.1 $
Author:
Pavel Vlasov

Constructor Summary
InjectingClassLoader(java.lang.ClassLoader parent)
           
 
Method Summary
 void consume(ClassGeneratorBase cgb)
           
 void consume(org.apache.bcel.classfile.JavaClass javaClass)
           
 GenerationListener getListener()
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectingClassLoader

public InjectingClassLoader(java.lang.ClassLoader parent)
Method Detail

consume

public void consume(org.apache.bcel.classfile.JavaClass javaClass)
             throws GenerationException
Specified by:
consume in interface Consumer
Throws:
GenerationException

consume

public void consume(ClassGeneratorBase cgb)
             throws GenerationException
Throws:
GenerationException

getListener

public GenerationListener getListener()
Specified by:
getListener in interface Consumer


Copyright © 2003 Hammurapi Group. All Rights Reserved.