Class PrivilegedMethodInvoker

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction

    public class PrivilegedMethodInvoker
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction
    • Constructor Summary

      Constructors 
      Constructor Description
      PrivilegedMethodInvoker​(java.lang.reflect.Method method, java.lang.Object target)  
      PrivilegedMethodInvoker​(java.lang.reflect.Method method, java.lang.Object target, java.lang.Object[] args)  
    • Method Summary

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

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

      • PrivilegedMethodInvoker

        public PrivilegedMethodInvoker​(java.lang.reflect.Method method,
                                       java.lang.Object target)
      • PrivilegedMethodInvoker

        public PrivilegedMethodInvoker​(java.lang.reflect.Method method,
                                       java.lang.Object target,
                                       java.lang.Object[] args)
    • Method Detail

      • run

        public java.lang.Object run()
                             throws java.lang.IllegalAccessException,
                                    java.lang.reflect.InvocationTargetException
        Specified by:
        run in interface java.security.PrivilegedExceptionAction
        Throws:
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException