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

public Class PrivilegedMethodInvoker<T>

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

Field Summary

Modifier and TypeField and Description
private final Object[]
private final Method
private final Object

Constructor Summary

AccessConstructor and Description
public
public
PrivilegedMethodInvoker(Method method, Object target, Object[] args)

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
methodback to summary
private final Method method
targetback to summary
private final Object target

Constructor Detail

PrivilegedMethodInvokerback to summary
public PrivilegedMethodInvoker(Method method, Object target)
PrivilegedMethodInvokerback to summary
public PrivilegedMethodInvoker(Method method, Object target, Object[] args)

Method Detail

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

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