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

public final Class GetClassLoader

extends Object
implements PrivilegedAction<ClassLoader>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.security.PrivilegedAction, org.hibernate.validator.internal.util.Contracts

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final Class<?>
private static final GetClassLoader

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static GetClassLoader
fromClass(Class<?> clazz)

public static GetClassLoader
public ClassLoader
run()

Implements java.security.PrivilegedAction.run.

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

Field Detail

clazzback to summary
private final Class<?> clazz
CONTEXTback to summary
private static final GetClassLoader CONTEXT

Constructor Detail

GetClassLoaderback to summary
private GetClassLoader(Class<?> clazz)

Method Detail

fromClassback to summary
public static GetClassLoader fromClass(Class<?> clazz)
fromContextback to summary
public static GetClassLoader fromContext()
runback to summary
public ClassLoader 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:ClassLoader

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