クラス ExecutableArchiveLauncher
java.lang.ObjectSE
org.springframework.boot.loader.launch.Launcher
org.springframework.boot.loader.launch.ExecutableArchiveLauncher
- 既知の直属サブクラス
JarLauncher,WarLauncher
実行可能アーカイブによってサポートされる
Launcher の基本クラス。- 導入:
- 3.2.0
- 作成者:
- Phillip Webb, Andy Wilkinson, Madhura Bhave, Scott Frederick
- 関連事項:
フィールドのサマリー
クラス org.springframework.boot.loader.launch.Launcher から継承されたフィールド
BOOT_CLASSPATH_INDEX_ATTRIBUTE, classPathIndex, DEFAULT_CLASSPATH_INDEX_FILE_NAMEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected ClassLoaderSEcreateClassLoader(CollectionSE<URLSE> urls) 指定されたアーカイブのクラスローダーを作成します。protected final Archive起動中のアーカイブを返します。アーカイブがない場合はnullを返します。クラスパスの構築に使用されるアーカイブを返します。protected StringSE起動するメインクラスを返します。protected booleanisSearchedDirectory(Archive.Entry entry) 指定されたディレクトリエントリがさらに検索する候補であるかどうかを判断します。クラス org.springframework.boot.loader.launch.Launcher から継承されたメソッド
getEntryPathPrefix, isExploded, isIncludedOnClassPath, isIncludedOnClassPathAndNotIndexed, isLibraryFileOrClassesDirectory, launch, launch
コンストラクターの詳細
ExecutableArchiveLauncher
- 例外:
ExceptionSE
ExecutableArchiveLauncher
- 例外:
ExceptionSE
メソッドの詳細
createClassLoader
クラスからコピーされた説明:Launcher指定されたアーカイブのクラスローダーを作成します。- オーバーライド:
- クラス
LauncherのcreateClassLoader - パラメーター:
urls- クラスパス URL- 戻り値:
- クラスローダー
- 例外:
ExceptionSE- クラスローダーを作成できない場合
getArchive
クラスからコピーされた説明:Launcher起動中のアーカイブを返します。アーカイブがない場合はnullを返します。- 次で指定:
- クラス
LauncherのgetArchive - 戻り値:
- 公開されたアーカイブ
getMainClass
クラスからコピーされた説明:Launcher起動するメインクラスを返します。- 次で指定:
- クラス
LauncherのgetMainClass - 戻り値:
- メインクラスの名前
- 例外:
ExceptionSE- メインクラスを取得できない場合
getClassPathUrls
クラスからコピーされた説明:Launcherクラスパスの構築に使用されるアーカイブを返します。- 次で指定:
- クラス
LauncherのgetClassPathUrls - 戻り値:
- クラスパスアーカイブ
- 例外:
ExceptionSE- クラスパスアーカイブを取得できない場合
isSearchedDirectory
指定されたディレクトリエントリがさらに検索する候補であるかどうかを判断します。- パラメーター:
entry- チェックするエントリ- 戻り値:
true(エントリがさらに検索する候補である場合)