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

public Class PrivilegedNewInstanceFromClass<T>

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

Field Summary

Modifier and TypeField and Description
private final Class<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

clazzback to summary
private final Class<T> clazz

Constructor Detail

PrivilegedNewInstanceFromClassback to summary
public PrivilegedNewInstanceFromClass(Class<T> clazz)

Method Detail

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

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