public class ScanningClasspathModuleRegistry extends AbstractScanningModuleRegistry
ACTIVATION_CLASS_PROPERTY, theMetasDEFAULT_DO_NOT_LOAD_CLASS_PREFIXES, RESOLVE_LOCK, theDoNotLoadClassPrefixestheSingleton| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
createClassLoader(Module module,
ClassLoader parentClassLoader)
ModuleRegistry also acts as a factory for the Modules' ClassLoaders.
|
protected static HashMap<String,MiniModuleMetaMap> |
findModuleMetas(ClassLoader cl)
Find the ModuleMetas available to this ClassLoader.
|
static ScanningClasspathModuleRegistry |
instantiate()
Instantiate ScanningClasspathModuleRegistry as the singleton ModuleRegistry
|
addModuleMeta, addParsedModuleMetasFromDirectories, addParsedModuleMetasFromJars, determineResolutionCandidates, nameSet, nameSet, parseMetadataFiles, replaceProperties, rpmvercmpaddModuleRegistryListener, determineRuntimeDependencies, determineRuntimeUses, determineSingleResolutionCandidate, fireModuleAddedEvent, getResolutionOf, removeModuleRegistryListener, resolve, resolve, toStringgetSingletonpublic static ScanningClasspathModuleRegistry instantiate() throws IllegalStateException, IOException
IllegalStateException - thrown if there is already a singleton instanceIOException - reading files failedpublic ClassLoader createClassLoader(Module module, ClassLoader parentClassLoader)
createClassLoader in class AbstractModuleRegistrymodule - the Module for which to create a ClassLoaderparentClassLoader - the ClassLoader to use as the parent ClassLoaderprotected static HashMap<String,MiniModuleMetaMap> findModuleMetas(ClassLoader cl) throws IOException
cl - the class loaderIOException - reading files failedCopyright © 2018. All rights reserved.