クラス java.lang.ModuleLayer.Controllerの
使用
-
java.langでのModuleLayer.Controllerの使用
修飾子と型メソッド説明ModuleLayer.Controller.addExports
(Module source, String pn, Module target) レイヤーのモジュールsource
を更新して、パッケージをモジュールtarget
にエクスポートします。レイヤー内のモジュールsource
を更新して、モジュールtarget
へのパッケージを開きます。レイヤー内のモジュールsource
を更新して、モジュールtarget
を読み取ります。static ModuleLayer.Controller
ModuleLayer.defineModules
(Configuration cf, List<ModuleLayer> parentLayers, Function<String, ClassLoader> clf) 指定されたConfiguration
内のモジュールをJava仮想マシンに定義することによって、新しいモジュール層を作成します。static ModuleLayer.Controller
ModuleLayer.defineModulesWithManyLoaders
(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) 指定されたConfiguration
内のモジュールをJava仮想マシンに定義することによって、新しいモジュール層を作成します。static ModuleLayer.Controller
ModuleLayer.defineModulesWithOneLoader
(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) 指定されたConfiguration
内のモジュールをJava仮想マシンに定義することによって、新しいモジュール層を作成します。