Class GetClassLoaderAction
- java.lang.Object
-
- org.wildfly.security.manager.action.GetClassLoaderAction
-
- All Implemented Interfaces:
PrivilegedAction<ClassLoader>
public final class GetClassLoaderAction extends Object implements PrivilegedAction<ClassLoader>
A security action to get the class loader of a class.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description GetClassLoaderAction(Class<?> clazz)
Construct a new instance.
-
-
-
Constructor Detail
-
GetClassLoaderAction
public GetClassLoaderAction(Class<?> clazz)
Construct a new instance.- Parameters:
clazz
- the class whose class loader is to be probed
-
-
Method Detail
-
run
public ClassLoader run()
- Specified by:
run
in interfacePrivilegedAction<ClassLoader>
-
-