com.uwyn.rife.engine
Class EngineClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by com.uwyn.rife.engine.EngineClassLoader
All Implemented Interfaces:
com.tc.object.loaders.NamedClassLoader, ClassBytesProvider

public class EngineClassLoader
extends URLClassLoader
implements com.tc.object.loaders.NamedClassLoader, ClassBytesProvider


Field Summary
static String DEFAULT_IMPLEMENTATIONS_PATH
           
static String META_DATA_SUFFIX
           
 
Fields inherited from interface com.tc.object.loaders.NamedClassLoader
CLASS, TYPE
 
Constructor Summary
EngineClassLoader(ClassLoader parent)
           
 
Method Summary
 String __tc_getClassLoaderName()
           
 void __tc_setClassLoaderName(String name)
           
static String constructSourcePath(String classname)
           
 byte[] getClassBytes(String className, boolean reloadAutomatically)
           
 byte[] getClassBytes(String className, boolean doAutoReload, boolean performCompilation)
           
static long getSourceModificationTime(URL sourceResource)
           
protected  Class loadClass(String classname, boolean resolve)
           
 Class loadClass(String classname, boolean resolve, boolean loadElement)
           
 void markClassAsModified(String classname)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, 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

DEFAULT_IMPLEMENTATIONS_PATH

public static final String DEFAULT_IMPLEMENTATIONS_PATH
See Also:
Constant Field Values

META_DATA_SUFFIX

public static final String META_DATA_SUFFIX
See Also:
Constant Field Values
Constructor Detail

EngineClassLoader

public EngineClassLoader(ClassLoader parent)
Method Detail

__tc_getClassLoaderName

public String __tc_getClassLoaderName()
Specified by:
__tc_getClassLoaderName in interface com.tc.object.loaders.NamedClassLoader

__tc_setClassLoaderName

public void __tc_setClassLoaderName(String name)
Specified by:
__tc_setClassLoaderName in interface com.tc.object.loaders.NamedClassLoader

loadClass

protected Class loadClass(String classname,
                          boolean resolve)
                   throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException

markClassAsModified

public void markClassAsModified(String classname)

loadClass

public Class loadClass(String classname,
                       boolean resolve,
                       boolean loadElement)
                throws ClassNotFoundException
Throws:
ClassNotFoundException

constructSourcePath

public static String constructSourcePath(String classname)

getClassBytes

public byte[] getClassBytes(String className,
                            boolean reloadAutomatically)
                     throws ClassNotFoundException
Specified by:
getClassBytes in interface ClassBytesProvider
Throws:
ClassNotFoundException

getClassBytes

public byte[] getClassBytes(String className,
                            boolean doAutoReload,
                            boolean performCompilation)
                     throws ClassNotFoundException
Throws:
ClassNotFoundException

getSourceModificationTime

public static long getSourceModificationTime(URL sourceResource)


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.