org.openorb.util.launcher
Class ModuleClassLoader
java.lang.Object
|
+--java.lang.ClassLoader
|
+--java.security.SecureClassLoader
|
+--java.net.URLClassLoader
|
+--org.openorb.util.launcher.ModuleClassLoader
- public class ModuleClassLoader
- extends URLClassLoader
The ModuleClassLoader class is a class loader that attempts to
initialize itself based on the directory structure required by OpenORB.
The following folder layout is required:
<TCOO_HOME>
|- tools
|- OpenORB
- Version:
- $Revision: 1.18 $ $Date: 2004/02/07 13:24:29 $
- Author:
- Tony Thompson, Michael Rumpf
| Methods inherited from class java.lang.ClassLoader |
defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setSigners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleClassLoader
public ModuleClassLoader()
throws Exception
- Creates a new instance of ModuleClassLoader.
ModuleClassLoader
public ModuleClassLoader(String module)
throws Exception
- Creates a new instance of ModuleClassLoader. ModuleClassLoader will
attempt to determine if there are any additional JAR files that should be
in the classpath based on the name of the module.
- Parameters:
module - a class name that indicates what module this class loader
will be launching classes from.