Remote Systems
v6.4.1

com.ibm.etools.systems.dstore.core.util
Class ExternalLoader

java.lang.Object
  extended bycom.ibm.etools.systems.dstore.core.util.ExternalLoader

public class ExternalLoader
extends Object

ExternalLoader is a ClassLoader wrapper used for loading external tools that are not in the same classpath as the DataStore. Each ExternalLoader contains a load scope, a list of classpaths that it's class loader is able to load.


Field Summary
static String Copyright
           
 
Constructor Summary
ExternalLoader(ClassLoader classLoader, ArrayList loadScope)
          Constructor
ExternalLoader(ClassLoader classLoader, String loadScope)
          Constructor
 
Method Summary
 boolean canLoad(String source)
          Indicates whether this external loader can load a particular class
 Class loadClass(String source)
          Loads the specified class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ExternalLoader

public ExternalLoader(ClassLoader classLoader,
                      String loadScope)
Constructor

Parameters:
classLoader - the classloader
loadScope - the scope in which the classloader can load classes

ExternalLoader

public ExternalLoader(ClassLoader classLoader,
                      ArrayList loadScope)
Constructor

Parameters:
classLoader - the classloader
loadScope - the scope in which the classloader can load classes
Method Detail

canLoad

public boolean canLoad(String source)
Indicates whether this external loader can load a particular class

Parameters:
source - a qualified classname
Returns:
true if it can load the clas

loadClass

public Class loadClass(String source)
                throws ClassNotFoundException
Loads the specified class

Parameters:
source - a qualified classname
Returns:
the loaded class
Throws:
ClassNotFoundException

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.