Remote Systems
v6.4.1

com.ibm.etools.systems.core.java
Class EnhancedClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended bycom.ibm.etools.systems.core.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)

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.