org.openorb.util.launcher
Class ProjectClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--java.security.SecureClassLoader
              |
              +--java.net.URLClassLoader
                    |
                    +--org.openorb.util.launcher.LibraryClassLoader
                          |
                          +--org.openorb.util.launcher.ProjectClassLoader

public class ProjectClassLoader
extends LibraryClassLoader

A class loader that uses the openorb.home.path system property to load OpenORB project libraries. Basically it looks for a lib subdirectory in each of the subdirectories of openorb.home.apth, then recursively scans for available libraries.

If the openorb.home.path system property is not set then this classloader has no effect.

Version:
$Revision: 1.3 $ $Date: 2004/02/10 21:28:45 $
Author:
Richard G Clark

Inner classes inherited from class org.openorb.util.launcher.LibraryClassLoader
LibraryClassLoader.PostfixFileFilter
 
Fields inherited from class org.openorb.util.launcher.LibraryClassLoader
ACCEPT_ALL_FILE_FILTER, JAR_FILE_FILTER, REJECT_ALL_FILE_FILTER
 
Constructor Summary
ProjectClassLoader(ClassLoader parent)
          Creates a new class loader using the specified parent class loader for delegation.
 
Methods inherited from class org.openorb.util.launcher.LibraryClassLoader
findClass
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
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
 

Constructor Detail

ProjectClassLoader

public ProjectClassLoader(ClassLoader parent)
Creates a new class loader using the specified parent class loader for delegation.