Uses of Class
java.lang.module.Configuration
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
-
Uses of Configuration in java.lang
Modifier and TypeMethodDescriptionModuleLayer.configuration()
Returns the configuration for this layer.Modifier and TypeMethodDescriptionModuleLayer.defineModules
(Configuration cf, Function<String, ClassLoader> clf) Creates a new module layer, with this layer as its parent, by defining the modules in the givenConfiguration
to the Java virtual machine.static ModuleLayer.Controller
ModuleLayer.defineModules
(Configuration cf, List<ModuleLayer> parentLayers, Function<String, ClassLoader> clf) Creates a new module layer by defining the modules in the givenConfiguration
to the Java virtual machine.ModuleLayer.defineModulesWithManyLoaders
(Configuration cf, ClassLoader parentLoader) Creates a new module layer, with this layer as its parent, by defining the modules in the givenConfiguration
to the Java virtual machine.static ModuleLayer.Controller
ModuleLayer.defineModulesWithManyLoaders
(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) Creates a new module layer by defining the modules in the givenConfiguration
to the Java virtual machine.ModuleLayer.defineModulesWithOneLoader
(Configuration cf, ClassLoader parentLoader) Creates a new module layer, with this layer as its parent, by defining the modules in the givenConfiguration
to the Java virtual machine.static ModuleLayer.Controller
ModuleLayer.defineModulesWithOneLoader
(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) Creates a new module layer by defining the modules in the givenConfiguration
to the Java virtual machine. -
Uses of Configuration in java.lang.module
Modifier and TypeMethodDescriptionResolvedModule.configuration()
Returns the configuration that this resolved module is in.static Configuration
Configuration.empty()
Returns the empty configuration.Configuration.resolve
(ModuleFinder before, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules, with this configuration as its parent, to create a new configuration.static Configuration
Configuration.resolve
(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules to create a configuration.Configuration.resolveAndBind
(ModuleFinder before, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules, with service binding, and with this configuration as its parent, to create a new configuration.static Configuration
Configuration.resolveAndBind
(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules, with service binding, to create configuration.Modifier and TypeMethodDescriptionConfiguration.parents()
Returns an unmodifiable list of this configuration's parents, in search order.Modifier and TypeMethodDescriptionstatic Configuration
Configuration.resolve
(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules to create a configuration.static Configuration
Configuration.resolveAndBind
(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules, with service binding, to create configuration.