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