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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClearContextClassLoaderAction
getInstance()
Get the singleton instance.ClassLoader
run()
-
-
-
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>
-
-