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