Class PrivilegedGetClassLoaderFromCurrentThread
- java.lang.Object
-
- org.eclipse.persistence.internal.security.PrivilegedGetClassLoaderFromCurrentThread
-
- All Implemented Interfaces:
java.security.PrivilegedExceptionAction<java.lang.ClassLoader>
public class PrivilegedGetClassLoaderFromCurrentThread extends java.lang.Object implements java.security.PrivilegedExceptionAction<java.lang.ClassLoader>INTERNAL: Retrieve currentThreadcontextClassLoaderwith privileges enabled.- Since:
- 2.6.1
-
-
Constructor Summary
Constructors Constructor Description PrivilegedGetClassLoaderFromCurrentThread()INTERNAL: Creates an instance of currentThreadcontextClassLoadergetter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoaderrun()INTERNAL: Performs currentThreadcontextClassLoaderretrieval.
-
-
-
Method Detail
-
run
public java.lang.ClassLoader run()
INTERNAL: Performs currentThreadcontextClassLoaderretrieval. This method will be called byAccessController.doPrivileged(PrivilegedAction)after enabling privileges.- Specified by:
runin interfacejava.security.PrivilegedExceptionAction<java.lang.ClassLoader>- Returns:
- The current
ThreadcontextClassLoader.
-
-