com.caucho.bytecode
Class JClassLoader

java.lang.Object
  extended by com.caucho.bytecode.JClassLoader
Direct Known Subclasses:
JavaClassLoader, JClassLoaderWrapper

public abstract class JClassLoader
extends java.lang.Object

Manages an introspected java classes.


Field Summary
protected static java.util.logging.Logger log
           
 
Constructor Summary
JClassLoader()
           
 
Method Summary
 void close()
          Closes the class loader.
 JClass descriptorToClass(java.lang.String name, int i)
           
 JClass forName(java.lang.String name)
          Returns the matching JClass.
static JClassLoader getStaticClassLoader()
          Returns the static class loader.
protected abstract  JClass loadClass(java.lang.String name)
          Loads the class.
static JClass localForName(java.lang.String name)
          Returns the matching JClass.
static JClass systemForName(java.lang.String name)
          Returns the matching JClass.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

JClassLoader

public JClassLoader()
Method Detail

forName

public JClass forName(java.lang.String name)
Returns the matching JClass.


close

public void close()
Closes the class loader.


systemForName

public static JClass systemForName(java.lang.String name)
Returns the matching JClass.


localForName

public static JClass localForName(java.lang.String name)
Returns the matching JClass.


loadClass

protected abstract JClass loadClass(java.lang.String name)
Loads the class.


getStaticClassLoader

public static JClassLoader getStaticClassLoader()
Returns the static class loader.


descriptorToClass

public JClass descriptorToClass(java.lang.String name,
                                int i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object