Top Fields Constructors Methods
org.eclipse.persistence.internal.security

public Class PrivilegedGetMethod

extends Object
implements PrivilegedExceptionAction<Method>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedExceptionAction
Imports
java.lang.reflect.Method, java.security.PrivilegedExceptionAction

Field Summary

Modifier and TypeField and Description
private final Class<?>
private final String
private final Class<?>[]
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
public
PrivilegedGetMethod(Class<?> clazz, String methodName, Class<?>[] methodParameterTypes, boolean shouldSetAccessible)

public
PrivilegedGetMethod(Class<?> clazz, String methodName, Class<?>[] methodParameterTypes, boolean shouldSetAccessible, boolean publicOnly)

Method Summary

Modifier and TypeMethod and Description
public Method
run()

Implements java.security.PrivilegedExceptionAction.run.

Performs the computation.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clazzback to summary
private final Class<?> clazz
methodNameback to summary
private final String methodName
methodParameterTypesback to summary
private final Class<?>[] methodParameterTypes
publicOnlyback to summary
private final boolean publicOnly
shouldSetAccessibleback to summary
private final boolean shouldSetAccessible

Constructor Detail

PrivilegedGetMethodback to summary
public PrivilegedGetMethod(Class<?> clazz, String methodName, Class<?>[] methodParameterTypes, boolean shouldSetAccessible)
PrivilegedGetMethodback to summary
public PrivilegedGetMethod(Class<?> clazz, String methodName, Class<?>[] methodParameterTypes, boolean shouldSetAccessible, boolean publicOnly)

Method Detail

runback to summary
public Method run() throws NoSuchMethodException

Implements java.security.PrivilegedExceptionAction.run.

Doc from java.security.PrivilegedExceptionAction.run.

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:Method

a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedExceptionAction should document what (if anything) this value represents.

Annotations
@Override