|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
javax.management
|
Constructor Summary | |
---|---|
DefaultLoaderRepository()
Deprecated. |
Method Summary | |
---|---|
static Class |
loadClass(String className)
Deprecated. Go through the list of class loaders and try to load the requested class. |
static Class |
loadClassWithout(ClassLoader loader,
String className)
Deprecated. Go through the list of class loaders but exclude the given class loader, then try to load the requested class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLoaderRepository()
Method Detail |
---|
public static Class loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
exception.
className
- The name of the class to be loaded.
ClassNotFoundException
- The specified class could not be found.public static Class loadClassWithout(ClassLoader loader, String className) throws ClassNotFoundException
ClassNotFoundException
exception.
className
- The name of the class to be loaded.loader
- The class loader to be excluded.
ClassNotFoundException
- The specified class could not be found.