org.glassfish.pfl.dynamic.copyobject.spi
Class LibraryClassLoader
java.lang.Object
org.glassfish.pfl.dynamic.copyobject.spi.LibraryClassLoader
public class LibraryClassLoader
- extends 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!
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibraryClassLoader
public LibraryClassLoader()
loadClass
public static Class<?> loadClass(String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getClassLoader
public static ClassLoader getClassLoader()
Copyright © 2013 Oracle. All Rights Reserved.