com.scooterframework.autoloader
Class MyClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.scooterframework.autoloader.MyClassLoader

public class MyClassLoader
extends java.lang.ClassLoader

MyClassLoader class


Field Summary
protected  LogUtil log
           
 
Constructor Summary
MyClassLoader(java.lang.ClassLoader parent, ClassManager caller)
           
MyClassLoader(ClassManager caller)
           
 
Method Summary
 long getKey()
           
protected  java.lang.Class<?> loadClass(java.lang.String className, boolean resolve)
           
 java.lang.Class<?> loadMyClass(java.lang.String className)
           
protected  boolean sourceChanged()
           
 
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, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
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

MyClassLoader

public MyClassLoader(ClassManager caller)

MyClassLoader

public MyClassLoader(java.lang.ClassLoader parent,
                     ClassManager caller)
Method Detail

getKey

public long getKey()

loadMyClass

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

loadClass

protected java.lang.Class<?> loadClass(java.lang.String className,
                                       boolean resolve)
                                throws java.lang.ClassNotFoundException
Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException

sourceChanged

protected boolean sourceChanged()