Class 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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • LibraryClassLoader

        public LibraryClassLoader()
    • Method Detail

      • 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()