Class PrivilegedClassForName

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction<java.lang.Class>

    public class PrivilegedClassForName
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction<java.lang.Class>
    • Constructor Summary

      Constructors 
      Constructor Description
      PrivilegedClassForName​(java.lang.String className)  
      PrivilegedClassForName​(java.lang.String className, boolean initialize, java.lang.ClassLoader loader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrivilegedClassForName

        public PrivilegedClassForName​(java.lang.String className,
                                      boolean initialize,
                                      java.lang.ClassLoader loader)
      • PrivilegedClassForName

        public PrivilegedClassForName​(java.lang.String className)
    • Method Detail

      • run

        public java.lang.Class run()
                            throws java.lang.ClassNotFoundException
        Specified by:
        run in interface java.security.PrivilegedExceptionAction<java.lang.Class>
        Throws:
        java.lang.ClassNotFoundException