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

public Class PrivilegedInvokeConstructor<T>

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

Field Summary

Modifier and TypeField and Description
private final Object[]
private final Constructor<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public T
run()

Implements java.security.PrivilegedExceptionAction.run.

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

Field Detail

argsback to summary
private final Object[] args
constructorback to summary
private final Constructor<T> constructor

Constructor Detail

PrivilegedInvokeConstructorback to summary
public PrivilegedInvokeConstructor(Constructor<T> constructor, Object[] args)

Method Detail

runback to summary
public T run() throws InstantiationException, InvocationTargetException, IllegalAccessException

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: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