public class PrivilegedGetClassLoaderFromCurrentThread
extends java.lang.Object
implements java.security.PrivilegedExceptionAction<java.lang.ClassLoader>
Thread
context ClassLoader
with privileges enabled.Constructor and Description |
---|
PrivilegedGetClassLoaderFromCurrentThread()
INTERNAL:
Creates an instance of current
Thread context ClassLoader getter. |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
run()
INTERNAL:
Performs current
Thread context ClassLoader retrieval. |
public PrivilegedGetClassLoaderFromCurrentThread()
Thread
context ClassLoader
getter.key
- The name of the System
property.public java.lang.ClassLoader run()
Thread
context ClassLoader
retrieval.
This method will be called by AccessController.doPrivileged(PrivilegedAction)
after enabling privileges.run
in interface java.security.PrivilegedExceptionAction<java.lang.ClassLoader>
Thread
context ClassLoader
.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference