LocalModuleLoader
public class DelegatingModuleLoader extends ModuleLoader
NO_FINDERS
Constructor | Description |
---|---|
DelegatingModuleLoader(ModuleLoader delegate,
ModuleFinder finder) |
Construct a new instance.
|
DelegatingModuleLoader(ModuleLoader delegate,
ModuleFinder[] finders) |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
protected Module |
preloadModule(String name) |
Preload the named module.
|
findLoadedModuleLocal, findLoadedModuleLocal, findModule, findModule, forClass, forClassLoader, getDependencies, getFinders, getModuleDescription, iterateModules, iterateModules, loadModule, loadModule, loadModuleLocal, loadModuleLocal, preloadExportedModule, preloadExportedModule, preloadModule, preloadModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, toString, unloadModuleLocal, unloadModuleLocal
public DelegatingModuleLoader(ModuleLoader delegate, ModuleFinder[] finders)
delegate
- the delegate module loader, or null
to skip delegationfinders
- the module finders (must not be null
)public DelegatingModuleLoader(ModuleLoader delegate, ModuleFinder finder)
delegate
- the delegate module loader, or null
to skip delegationfinder
- the single module finder (must not be null
)protected Module preloadModule(String name) throws ModuleLoadException
preloadModule
in class ModuleLoader
name
- the module name (must not be null
)null
if it is not found in this loader or the delegateModuleLoadException
- if the module was found but failed to be loadedCopyright © 2018 JBoss by Red Hat. All rights reserved.