クラスjava.lang.ModuleLayer.Controllerの
使用
ModuleLayer.Controllerを使用するパッケージ
-
java.langでのModuleLayer.Controllerの使用
ModuleLayer.Controllerを返すjava.langのメソッド修飾子と型メソッド説明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仮想マシンに定義して、新しいモジュール・レイヤーを作成します。ModuleLayer.Controller.enableNativeAccess
(Module target) Preview.呼び出し元のモジュールにネイティブ・アクセスがある場合は、レイヤー内のモジュールのネイティブ・アクセスを有効にします。