Class PrivilegedNewInstanceFromClass<T>

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction<T>

    public class PrivilegedNewInstanceFromClass<T>
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction<T>
    • Method Summary

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

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

      • PrivilegedNewInstanceFromClass

        public PrivilegedNewInstanceFromClass​(java.lang.Class<T> clazz)
    • Method Detail

      • run

        public T run()
              throws java.lang.IllegalAccessException,
                     java.lang.InstantiationException
        Specified by:
        run in interface java.security.PrivilegedExceptionAction<T>
        Throws:
        java.lang.IllegalAccessException
        java.lang.InstantiationException