クラス java.lang.ModuleLayer.Controllerの
使用
| パッケージ | 説明 |
|---|---|
| java.lang |
Javaプログラミング言語の設計にあたり基本的なクラスを提供します。
|
-
java.langでのModuleLayer.Controllerの使用
ModuleLayer.Controllerを戻すjava.langのメソッド 修飾子と型 メソッド 説明 ModuleLayer.ControllerModuleLayer.Controller. addExports(Module source, String pn, Module target)レイヤーのモジュールsourceを更新して、パッケージをモジュールtargetにエクスポートします。ModuleLayer.ControllerModuleLayer.Controller. addOpens(Module source, String pn, Module target)レイヤー内のモジュールsourceを更新して、モジュールtargetへのパッケージを開きます。ModuleLayer.ControllerModuleLayer.Controller. addReads(Module source, Module 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仮想マシンに定義することによって、新しいモジュール層を作成します。