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

public Class PrivilegedGetDeclaredMethod

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<?>[]

Constructor Summary

AccessConstructor and Description
public
PrivilegedGetDeclaredMethod(final Class<?> clazz, final String methodName, final Class<?>[] methodParameterTypes)

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

Constructor Detail

PrivilegedGetDeclaredMethodback to summary
public PrivilegedGetDeclaredMethod(final Class<?> clazz, final String methodName, final Class<?>[] methodParameterTypes)

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