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

public Class PrivilegedGetClassLoaderFromCurrentThread

extends Object
implements PrivilegedExceptionAction<ClassLoader>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedExceptionAction
Imports
java.security.AccessController, .PrivilegedAction, .PrivilegedExceptionAction

INTERNAL: Retrieve current Thread context ClassLoader with privileges enabled.
Since
2.6.1

Constructor Summary

AccessConstructor and Description
public
PrivilegedGetClassLoaderFromCurrentThread()

INTERNAL: Creates an instance of current Thread context ClassLoader getter.

Method Summary

Modifier and TypeMethod and Description
public ClassLoader

Returns:

The current Thread context ClassLoader.
run
()

Implements java.security.PrivilegedExceptionAction.run.

INTERNAL: Performs current Thread context ClassLoader retrieval.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PrivilegedGetClassLoaderFromCurrentThreadback to summary
public PrivilegedGetClassLoaderFromCurrentThread()

INTERNAL: Creates an instance of current Thread context ClassLoader getter.

Method Detail

runback to summary
public ClassLoader run()

Implements java.security.PrivilegedExceptionAction.run.

INTERNAL: Performs current Thread context ClassLoader retrieval. This method will be called by AccessController#doPrivileged(PrivilegedAction) after enabling privileges.

Returns:ClassLoader

The current Thread context ClassLoader.

Annotations
@Override