Class PrivilegedGetMethod

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

    public class PrivilegedGetMethod
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction<java.lang.reflect.Method>
    • Constructor Summary

      Constructors 
      Constructor Description
      PrivilegedGetMethod​(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] methodParameterTypes, boolean shouldSetAccessible)  
      PrivilegedGetMethod​(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] methodParameterTypes, boolean shouldSetAccessible, boolean publicOnly)  
    • Method Summary

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

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

      • PrivilegedGetMethod

        public PrivilegedGetMethod​(java.lang.Class clazz,
                                   java.lang.String methodName,
                                   java.lang.Class[] methodParameterTypes,
                                   boolean shouldSetAccessible)
      • PrivilegedGetMethod

        public PrivilegedGetMethod​(java.lang.Class clazz,
                                   java.lang.String methodName,
                                   java.lang.Class[] methodParameterTypes,
                                   boolean shouldSetAccessible,
                                   boolean publicOnly)
    • Method Detail

      • run

        public java.lang.reflect.Method run()
                                     throws java.lang.NoSuchMethodException
        Specified by:
        run in interface java.security.PrivilegedExceptionAction<java.lang.reflect.Method>
        Throws:
        java.lang.NoSuchMethodException