クラス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.ControllerModuleLayer.defineModules(Configuration cf, List<ModuleLayer> parentLayers, Function<String, ClassLoader> clf) 指定されたConfigurationのモジュールをJava仮想マシンに定義して、新しいモジュール・レイヤーを作成します。static ModuleLayer.ControllerModuleLayer.defineModulesWithManyLoaders(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) 指定されたConfigurationのモジュールをJava仮想マシンに定義して、新しいモジュール・レイヤーを作成します。static ModuleLayer.ControllerModuleLayer.defineModulesWithOneLoader(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) 指定されたConfigurationのモジュールをJava仮想マシンに定義して、新しいモジュール・レイヤーを作成します。ModuleLayer.Controller.enableNativeAccess(Module target) Restricted.呼び出し元のモジュールにネイティブ・アクセスがある場合は、レイヤー内のモジュールのネイティブ・アクセスを有効にします。