|
Remote System Explorer DataStore Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.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.
| 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 |
| Constructor Detail |
public ExternalLoader(ClassLoader classLoader,
String loadScope)
classLoader - the classloaderloadScope - the scope in which the classloader can load classes
public ExternalLoader(ClassLoader classLoader,
ArrayList loadScope)
classLoader - the classloaderloadScope - the scope in which the classloader can load classes| Method Detail |
public boolean canLoad(String source)
source - a qualified classname
public Class loadClass(String source)
throws ClassNotFoundException
source - a qualified classname
ClassNotFoundException
|
Remote System Explorer DataStore Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||