Top Description Fields Constructors Methods
org.hibernate.validator.internal.util.privilegedactions

public final Class GetMethod

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

Returns the method with the specified name or null if it does not exist.
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final Class<?>
private final String

Constructor Summary

AccessConstructor and Description
private
GetMethod(Class<?> clazz, String methodName)

Method Summary

Modifier and TypeMethod and Description
public static GetMethod
action(Class<?> clazz, String methodName)

public Method
run()

Implements java.security.PrivilegedAction.run.

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

Field Detail

clazzback to summary
private final Class<?> clazz
methodNameback to summary
private final String methodName

Constructor Detail

GetMethodback to summary
private GetMethod(Class<?> clazz, String methodName)

Method Detail

actionback to summary
public static GetMethod action(Class<?> clazz, String methodName)
runback to summary
public Method 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:Method

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.

Annotations
@Override