|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
de.uni_paderborn.fujaba.basic.UnifiedClassLoader
A ClassLoader that unifies all available UPBClassLoaders (all plugins)
Method Summary | |
java.net.URL |
findResource(java.lang.String name)
Finds the resource with the given name. |
static java.lang.ClassLoader |
get()
|
protected java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
Loads the class with the specified name. |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
protected java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
name
- the name of the classresolve
- if true
then resolve the class
Class
object
java.lang.ClassNotFoundException
- if the class could not be foundpublic java.net.URL findResource(java.lang.String name)
The name of a resource is a "/"-separated path name that identifies the resource.
This method will first search the UPBClassLoader for the resource; That failing, this method will call getResource( name ) of all plugin class loaders.
name
- resource name
null
if the resource could
not be found or the caller doesn't have adequate privileges to get the resource.findResource(String)
public static java.lang.ClassLoader get()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |