Class GetContextClassLoaderAction
- java.lang.Object
-
- org.wildfly.security.manager.action.GetContextClassLoaderAction
-
- All Implemented Interfaces:
PrivilegedAction<ClassLoader>
public final class GetContextClassLoaderAction extends Object implements PrivilegedAction<ClassLoader>
An action which gets the current thread's context class loader.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private static GetContextClassLoaderAction
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
GetContextClassLoaderAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetContextClassLoaderAction
getInstance()
Get the singleton instance.ClassLoader
run()
-
-
-
Field Detail
-
INSTANCE
private static final GetContextClassLoaderAction INSTANCE
-
-
Method Detail
-
getInstance
public static GetContextClassLoaderAction getInstance()
Get the singleton instance.- Returns:
- the singleton instance
-
run
public ClassLoader run()
- Specified by:
run
in interfacePrivilegedAction<ClassLoader>
-
-