クラスの使用
java.lang.module.Configuration
-
Configurationを使用しているパッケージ パッケージ 説明 java.lang Javaプログラミング言語の設計にあたり基本的なクラスを提供します。java.lang.module モジュール記述子をサポートし、解決およびサービス・バインディングによってモジュールの構成を作成するクラス。 -
-
java.langでの構成の使用
Configurationを返すjava.langのメソッド 修飾子と型 メソッド 説明 ConfigurationModuleLayer. configuration()このレイヤーの設定を返します。Configuration型のパラメータを持つjava.langのメソッド 修飾子と型 メソッド 説明 ModuleLayerModuleLayer. defineModules(Configuration cf, Function<String,ClassLoader> clf)指定されたConfiguration内のモジュールをJava仮想マシンに定義することで、このレイヤーを親として新しいモジュール・レイヤーを作成します。static ModuleLayer.ControllerModuleLayer. defineModules(Configuration cf, List<ModuleLayer> parentLayers, Function<String,ClassLoader> clf)指定されたConfiguration内のモジュールをJava仮想マシンに定義して、新しいモジュール・レイヤーを作成します。ModuleLayerModuleLayer. defineModulesWithManyLoaders(Configuration cf, ClassLoader parentLoader)指定されたConfiguration内のモジュールをJava仮想マシンに定義することで、このレイヤーを親として新しいモジュール・レイヤーを作成します。static ModuleLayer.ControllerModuleLayer. defineModulesWithManyLoaders(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader)指定されたConfiguration内のモジュールをJava仮想マシンに定義して、新しいモジュール・レイヤーを作成します。ModuleLayerModuleLayer. defineModulesWithOneLoader(Configuration cf, ClassLoader parentLoader)指定されたConfiguration内のモジュールをJava仮想マシンに定義することで、このレイヤーを親として新しいモジュール・レイヤーを作成します。static ModuleLayer.ControllerModuleLayer. defineModulesWithOneLoader(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader)指定されたConfiguration内のモジュールをJava仮想マシンに定義して、新しいモジュール・レイヤーを作成します。 -
java.lang.moduleでの構成の使用
Configurationを返すjava.lang.moduleのメソッド 修飾子と型 メソッド 説明 ConfigurationResolvedModule. configuration()この解決済モジュールが存在する構成を返します。static ConfigurationConfiguration. empty()empty構成を返します。ConfigurationConfiguration. resolve(ModuleFinder before, ModuleFinder after, Collection<String> roots)ルート・モジュールのコレクションを解決し、この構成を親として、新しい構成を作成します。static ConfigurationConfiguration. resolve(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots)構成を作成するためのルート・モジュールのコレクションを解決します。ConfigurationConfiguration. resolveAndBind(ModuleFinder before, ModuleFinder after, Collection<String> roots)サービス・バインディングを持つルート・モジュールのコレクションを解決し、この構成を親として使用して、新しい構成を作成します。static ConfigurationConfiguration. resolveAndBind(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots)ルート・モジュールのコレクションを解決し、サービス・バインディングを使用して構成を作成します。Configuration型の引数を持つ型を返すjava.lang.moduleのメソッド 修飾子と型 メソッド 説明 List<Configuration>Configuration. parents()この構成の親の変更不可能なリストを検索順序で返します。Configuration型の型引数を持つjava.lang.moduleのメソッド・パラメータ 修飾子と型 メソッド 説明 static ConfigurationConfiguration. resolve(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots)構成を作成するためのルート・モジュールのコレクションを解決します。static ConfigurationConfiguration. resolveAndBind(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots)ルート・モジュールのコレクションを解決し、サービス・バインディングを使用して構成を作成します。
-