Class SetContextClassLoaderFromClassAction

java.lang.Object
org.wildfly.security.manager.action.SetContextClassLoaderFromClassAction
All Implemented Interfaces:
PrivilegedAction<ClassLoader>

public final class SetContextClassLoaderFromClassAction extends Object implements PrivilegedAction<ClassLoader>
A security action to get and set the context class loader of the current thread.
Author:
David M. Lloyd
  • Constructor Details

    • SetContextClassLoaderFromClassAction

      public SetContextClassLoaderFromClassAction(Class<?> clazz)
      Construct a new instance.
      Parameters:
      clazz - a class from the class loader to set
  • Method Details