Uses of Class
java.lang.ModuleLayer.Controller
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of ModuleLayer.Controller in java.lang
Modifier and TypeMethodDescriptionModuleLayer.Controller.addExports(Module source, String pn, Module target)
Updates modulesource
in the layer to export a package to moduletarget
.Updates modulesource
in the layer to open a package to moduletarget
.Updates modulesource
in the layer to read moduletarget
.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.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.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.