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