protected ModuleSpec |
ClassifyingModuleLoader.findModule(java.lang.String name) |
Find a Module's specification in this ModuleLoader by its name.
|
ModuleSpec |
FileSystemClassPathModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
ModuleSpec |
JarModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
Deprecated.
|
ModuleSpec |
LocalModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
default ModuleSpec |
ModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
Find a module specification for the given name.
|
default ModuleSpec |
ModuleFinder.findModule(ModuleIdentifier moduleIdentifier,
ModuleLoader delegateLoader) |
Find a module specification for the given identifier.
|
protected ModuleSpec |
ModuleLoader.findModule(java.lang.String name) |
Find a Module's specification in this ModuleLoader by its name.
|
protected ModuleSpec |
ModuleLoader.findModule(ModuleIdentifier moduleIdentifier) |
Deprecated.
|
ModuleSpec |
ResourceLoaderModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
java.util.Set<java.lang.String> |
Module.getImportedPaths() |
Get the (unmodifiable) set of paths which are imported into this module class loader, including local paths.
|
Module |
Module.getModule(java.lang.String name) |
Get the module with the given identifier from the module loader used by this module.
|
Module |
Module.getModule(ModuleIdentifier identifier) |
Deprecated.
|
static Module |
Module.getModuleFromCallerModuleLoader(java.lang.String name) |
Get a module from the current module loader.
|
static Module |
Module.getModuleFromCallerModuleLoader(ModuleIdentifier identifier) |
Deprecated.
|
java.util.Iterator<Resource> |
Module.globResources(java.lang.String glob) |
Enumerate all imported resources in this module which match the given glob expression.
|
java.util.Iterator<Resource> |
Module.iterateResources(PathFilter filter) |
Enumerate all the imported resources in this module, subject to a path filter.
|
static java.lang.Class<?> |
Module.loadClassFromBootModuleLoader(java.lang.String name,
java.lang.String className) |
Load a class from a module in the system module loader.
|
static java.lang.Class<?> |
Module.loadClassFromBootModuleLoader(ModuleIdentifier moduleIdentifier,
java.lang.String className) |
Deprecated.
|
static java.lang.Class<?> |
Module.loadClassFromCallerModuleLoader(java.lang.String name,
java.lang.String className) |
Load a class from a module in the caller's module loader.
|
static java.lang.Class<?> |
Module.loadClassFromCallerModuleLoader(ModuleIdentifier moduleIdentifier,
java.lang.String className) |
Deprecated.
|
Module |
ModuleLoader.loadModule(java.lang.String name) |
Load a module based on an identifier.
|
Module |
ModuleLoader.loadModule(ModuleIdentifier identifier) |
Deprecated.
|
protected Module |
ModuleLoader.loadModuleLocal(java.lang.String name) |
Try to load a module from this module loader.
|
protected Module |
ModuleLoader.loadModuleLocal(ModuleIdentifier moduleIdentifier) |
Deprecated.
|
static <S> java.util.ServiceLoader<S> |
Module.loadServiceFromCallerModuleLoader(java.lang.String name,
java.lang.Class<S> serviceType) |
Load a service loader from a module in the caller's module loader.
|
static <S> java.util.ServiceLoader<S> |
Module.loadServiceFromCallerModuleLoader(ModuleIdentifier identifier,
java.lang.Class<S> serviceType) |
Deprecated.
|
static ModuleSpec |
LocalModuleFinder.parseModuleXmlFile(java.lang.String name,
ModuleLoader delegateLoader,
java.io.File... roots) |
Parse a module.xml file and return the corresponding module specification.
|
static ModuleSpec |
LocalModuleFinder.parseModuleXmlFile(ModuleIdentifier identifier,
ModuleLoader delegateLoader,
java.io.File... roots) |
Deprecated.
|
protected Module |
ModuleLoader.preloadExportedModule(java.lang.String name) |
Preload an "exported" module based on an identifier.
|
protected Module |
ModuleLoader.preloadExportedModule(ModuleIdentifier identifier) |
Deprecated.
|
protected Module |
ClassifyingModuleLoader.preloadModule(java.lang.String name) |
Preload a module based on an identifier.
|
protected Module |
DelegatingModuleLoader.preloadModule(java.lang.String name) |
Preload the named module.
|
protected Module |
ModuleLoader.preloadModule(java.lang.String name) |
Preload a module based on an identifier.
|
protected static Module |
ModuleLoader.preloadModule(java.lang.String name,
ModuleLoader moduleLoader) |
Utility method to delegate to another module loader, accessible from subclasses.
|
protected Module |
ModuleLoader.preloadModule(ModuleIdentifier identifier) |
Deprecated.
|
protected static Module |
ModuleLoader.preloadModule(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
Deprecated.
|
protected void |
ModuleLoader.relink(Module module) |
Relinks the dependencies associated with the specified Module.
|
protected void |
ModuleLoader.setAndRelinkDependencies(Module module,
java.util.List<DependencySpec> dependencies) |
Replaces the dependencies for the specified module and relinks against
the new modules This is an advanced method that should be used carefully,
since it alters a live module.
|