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