com.opensymphony.webwork.util.classloader
Class CompilingClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.opensymphony.webwork.util.classloader.ReloadingClassLoader
          extended by com.opensymphony.webwork.util.classloader.CompilingClassLoader
All Implemented Interfaces:
com.uwyn.rife.continuations.ClassByteAware

public class CompilingClassLoader
extends ReloadingClassLoader
implements com.uwyn.rife.continuations.ClassByteAware

Author:
tcurdt

Field Summary
 
Fields inherited from class com.opensymphony.webwork.util.classloader.ReloadingClassLoader
fam, listener, reader, repository, thread
 
Constructor Summary
CompilingClassLoader(ClassLoader pParent, File pRepository)
           
CompilingClassLoader(ClassLoader pParent, File pRepository, TransactionalResourceStore pStore)
           
CompilingClassLoader(ClassLoader pParent, File pRepository, TransactionalResourceStore pStore, JavaCompiler pCompiler)
           
 
Method Summary
 byte[] getClassBytes(String classname)
           
 void start()
           
 
Methods inherited from class com.opensymphony.webwork.util.classloader.ReloadingClassLoader
addListener, clazzName, clearAssertionStatus, getResource, getResourceAsStream, loadClass, reload, removeListener, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, stop
 
Methods inherited from class java.lang.ClassLoader
defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilingClassLoader

public CompilingClassLoader(ClassLoader pParent,
                            File pRepository)

CompilingClassLoader

public CompilingClassLoader(ClassLoader pParent,
                            File pRepository,
                            TransactionalResourceStore pStore)

CompilingClassLoader

public CompilingClassLoader(ClassLoader pParent,
                            File pRepository,
                            TransactionalResourceStore pStore,
                            JavaCompiler pCompiler)
Method Detail

getClassBytes

public byte[] getClassBytes(String classname)
                     throws ClassNotFoundException
Specified by:
getClassBytes in interface com.uwyn.rife.continuations.ClassByteAware
Throws:
ClassNotFoundException

start

public void start()
Overrides:
start in class ReloadingClassLoader

WebWork Project Page