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