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

public Class PrivilegedGetConstructorFor<T>

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
PrivilegedGetConstructorFor(Class<T> javaClass, Class<?>[] args, boolean shouldSetAccessible)

Method Summary

Modifier and TypeMethod and Description
public Constructor<T>
run()

Implements java.security.PrivilegedExceptionAction.run.

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

Field Detail

argsback to summary
private final Class<?>[] args
javaClassback to summary
private final Class<T> javaClass
shouldSetAccessibleback to summary
private final boolean shouldSetAccessible

Constructor Detail

PrivilegedGetConstructorForback to summary
public PrivilegedGetConstructorFor(Class<T> javaClass, Class<?>[] args, boolean shouldSetAccessible)

Method Detail

runback to summary
public Constructor<T> 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:Constructor<T>

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