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
    • Field Detail

      • module

        private final org.jboss.modules.Module module
    • 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>