RSE
Release 1.0

org.eclipse.rse.services.clientserver.java
Class EnhancedClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byorg.eclipse.rse.services.clientserver.java.EnhancedClassLoader

public class EnhancedClassLoader
extends ClassLoader

This class loader is used to load classes given a root path.


Constructor Summary
EnhancedClassLoader(String rootPath)
          Constructor.
 
Method Summary
protected  Class findClass(String name)
          Finds the class with the given name.
 String getRootPath()
          Returns the root path.
 void setRootPath(String rootPath)
          Sets the root path.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancedClassLoader

public EnhancedClassLoader(String rootPath)
Constructor.

Parameters:
rootPath - the root path.
Method Detail

getRootPath

public String getRootPath()
Returns the root path.

Returns:
the root path.

setRootPath

public void setRootPath(String rootPath)
Sets the root path.

Parameters:
rootPath - the root path.

findClass

protected Class findClass(String name)
                   throws ClassNotFoundException
Finds the class with the given name.

Throws:
ClassNotFoundException
See Also:
ClassLoader.findClass(java.lang.String)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.