public class PrivilegedGetClassLoaderFromCurrentThread extends Object implements PrivilegedExceptionAction<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 |
---|---|
ClassLoader |
run()
INTERNAL:
Performs current
Thread context ClassLoader retrieval. |
public PrivilegedGetClassLoaderFromCurrentThread()
Thread
context ClassLoader
getter.key
- The name of the System
property.public ClassLoader run()
Thread
context ClassLoader
retrieval.
This method will be called by AccessController.doPrivileged(PrivilegedAction)
after enabling privileges.run
in interface PrivilegedExceptionAction<ClassLoader>
Thread
context ClassLoader
.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference