|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.dstore.core.util.ExternalLoader
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 |
public static final String Copyright
Constructor Detail |
public ExternalLoader(ClassLoader classLoader, String loadScope)
classLoader
- the classloaderloadScope
- the scope in which the classloader can load classespublic ExternalLoader(ClassLoader classLoader, ArrayList loadScope)
classLoader
- the classloaderloadScope
- the scope in which the classloader can load classesMethod Detail |
public boolean canLoad(String source)
source
- a qualified classname
public Class loadClass(String source) throws ClassNotFoundException
source
- a qualified classname
ClassNotFoundException
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |