クラスjava.lang.ModuleLayerの
使用
パッケージ
説明
Javaプログラミング言語の設計にあたり基本的なクラスを提供します。
コレクション・フレームワーク、国際化サポート・クラス、サービス・ローダー、プロパティ、乱数生成、文字列解析とスキャン・クラス、Base64エンコーディングとデコード、ビット配列、およびその他のユーティリティ・クラスが含まれています。
-
java.langでのModuleLayerの使用
修飾子と型メソッド説明static ModuleLayer
ModuleLayer.boot()
ブート・レイヤーを返します。ModuleLayer.defineModules
(Configuration cf, Function<String, ClassLoader> clf) 指定されたConfiguration
のモジュールをJava仮想マシンに定義することで、このレイヤーを親として、新しいモジュール・レイヤーを作成します。ModuleLayer.defineModulesWithManyLoaders
(Configuration cf, ClassLoader parentLoader) 指定されたConfiguration
のモジュールをJava仮想マシンに定義することで、このレイヤーを親として、新しいモジュール・レイヤーを作成します。ModuleLayer.defineModulesWithOneLoader
(Configuration cf, ClassLoader parentLoader) 指定されたConfiguration
のモジュールをJava仮想マシンに定義することで、このレイヤーを親として、新しいモジュール・レイヤーを作成します。static ModuleLayer
ModuleLayer.empty()
emptyレイヤーを返します。Module.getLayer()
このモジュールを含むモジュール・レイヤーを返すか、このモジュールがモジュール・レイヤーにない場合はnull
を返します。ModuleLayer.Controller.layer()
このオブジェクトが制御するレイヤーを返します。修飾子と型メソッド説明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仮想マシンに定義して、新しいモジュール・レイヤーを作成します。 -
java.utilでのModuleLayerの使用
修飾子と型メソッド説明static <S> ServiceLoader
<S> ServiceLoader.load
(ModuleLayer layer, Class<S> service) 指定されたモジュール・タイプおよびその祖先のモジュールからサービス・プロバイダをロードするために、指定されたサービス・タイプ用の新しいサービス・ローダーを作成します。