Top Fields Constructors Methods
org.jboss.marshalling._private

public Class GetDeclaredConstructorAction<T>

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
GetDeclaredConstructorAction(final Class<T> clazz, final Class<?>... paramTypes)

Method Summary

Modifier and TypeMethod and Description
public static <T> GetDeclaredConstructorAction<T>
create(Class<T> clazz, Class<?>... paramTypes)

public Constructor<T>
run()

Implements java.security.PrivilegedAction.run.

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

Field Detail

clazzback to summary
private final Class<T> clazz
paramTypesback to summary
private final Class<?>[] paramTypes

Constructor Detail

GetDeclaredConstructorActionback to summary
public GetDeclaredConstructorAction(final Class<T> clazz, final Class<?>... paramTypes)

Method Detail

createback to summary
public static <T> GetDeclaredConstructorAction<T> create(Class<T> clazz, Class<?>... paramTypes)
runback to summary
public Constructor<T> run()

Implements java.security.PrivilegedAction.run.

Doc from java.security.PrivilegedAction.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 PrivilegedAction should document what (if anything) this value represents.