Class SecureLoader

java.lang.Object
com.sun.codemodel.fmt.SecureLoader

class SecureLoader extends 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 Details

    • SecureLoader

      SecureLoader()
  • Method Details

    • getContextClassLoader

      static ClassLoader getContextClassLoader()
    • getClassClassLoader

      static ClassLoader getClassClassLoader(Class c)
    • getSystemClassLoader

      static ClassLoader getSystemClassLoader()
    • setContextClassLoader

      static void setContextClassLoader(ClassLoader cl)