br.shob.compiler
Class ShobClassLoader
java.lang.Object
|
+--java.lang.ClassLoader
|
+--br.shob.compiler.ShobClassLoader
- public class ShobClassLoader
- extends ClassLoader
Method Summary |
Class |
getLoadedClass()
|
Class |
loadClass(String className)
This is a simple version for external clients since they
will always want the class resolved before it is returned
to them. |
Class |
loadClass(String className,
boolean resolveIt)
This is the required version of loadClass which is called
both from loadClass above and from the internal function
FindClassFromClass. |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShobClassLoader
public ShobClassLoader(FileInputStream fi)
getLoadedClass
public Class getLoadedClass()
loadClass
public Class loadClass(String className)
throws ClassNotFoundException
- This is a simple version for external clients since they
will always want the class resolved before it is returned
to them.
- Overrides:
loadClass
in class ClassLoader
ClassNotFoundException
loadClass
public Class loadClass(String className,
boolean resolveIt)
throws ClassNotFoundException
- This is the required version of loadClass which is called
both from loadClass above and from the internal function
FindClassFromClass.
- Overrides:
loadClass
in class ClassLoader
ClassNotFoundException