Class GetModuleClassLoaderAction

  • All Implemented Interfaces:
    PrivilegedAction<org.jboss.modules.ModuleClassLoader>

    public final class GetModuleClassLoaderAction
    extends Object
    implements PrivilegedAction<org.jboss.modules.ModuleClassLoader>
    A security action to get the class loader for a module.
    Author:
    David M. Lloyd
    • Constructor Detail

      • GetModuleClassLoaderAction

        public GetModuleClassLoaderAction​(org.jboss.modules.Module module)
        Construct a new instance.
        Parameters:
        module - the module to read
    • Method Detail

      • run

        public org.jboss.modules.ModuleClassLoader run()
        Specified by:
        run in interface PrivilegedAction<org.jboss.modules.ModuleClassLoader>