Class SecureLoader


  • class SecureLoader
    extends java.lang.Object
    Class defined for safe calls of getClassLoader methods of any kind (context/system/class classloader. This MUST be package private and defined in every package which uses such invocations.
    • Constructor Summary

      Constructors 
      Constructor Description
      SecureLoader()  
    • Constructor Detail

      • SecureLoader

        SecureLoader()
    • Method Detail

      • getContextClassLoader

        static java.lang.ClassLoader getContextClassLoader()
      • getClassClassLoader

        static java.lang.ClassLoader getClassClassLoader​(java.lang.Class c)
      • getSystemClassLoader

        static java.lang.ClassLoader getSystemClassLoader()
      • setContextClassLoader

        static void setContextClassLoader​(java.lang.ClassLoader cl)