org.glassfish.pfl.dynamic.copyobject.spi
Class LibraryClassLoader
java.lang.Object
org.glassfish.pfl.dynamic.copyobject.spi.LibraryClassLoader
public class LibraryClassLoader
- extends java.lang.Object
Based on feedback from bug report 4452016, all class loading
in the ORB is isolated here. It is acceptable to use
Class.forName only when one is certain that the desired class
should come from the core JDK.
Note that this class must not depend on generated log wrappers!
|
Method Summary |
static java.lang.ClassLoader |
getClassLoader()
|
static java.lang.Class<?> |
loadClass(java.lang.String className)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibraryClassLoader
public LibraryClassLoader()
loadClass
public static java.lang.Class<?> loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getClassLoader
public static java.lang.ClassLoader getClassLoader()