com.uwyn.rife.engine
Class EngineClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
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
| Fields inherited from interface com.tc.object.loaders.NamedClassLoader |
CLASS, TYPE |
| 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 |
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
EngineClassLoader
public EngineClassLoader(ClassLoader parent)
__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.