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