クラス ExecutableArchiveLauncher

java.lang.ObjectSE
org.springframework.boot.loader.launch.Launcher
org.springframework.boot.loader.launch.ExecutableArchiveLauncher
既知の直属サブクラス
JarLauncherWarLauncher

public abstract class ExecutableArchiveLauncher extends Launcher
実行可能アーカイブによってサポートされる Launcher の基本クラス。
導入:
3.2.0
作成者:
Phillip Webb, Andy Wilkinson, Madhura Bhave, Scott Frederick
関連事項:
  • コンストラクターの詳細

  • メソッドの詳細

    • createClassLoader

      protected ClassLoaderSE createClassLoader(CollectionSE<URLSE> urls) throws ExceptionSE
      クラスからコピーされた説明: Launcher
      指定されたアーカイブのクラスローダーを作成します。
      オーバーライド:
      クラス LaunchercreateClassLoader 
      パラメーター:
      urls - クラスパス URL
      戻り値:
      クラスローダー
      例外:
      ExceptionSE - クラスローダーを作成できない場合
    • getArchive

      protected final Archive getArchive()
      クラスからコピーされた説明: Launcher
      起動中のアーカイブを返します。アーカイブがない場合は null を返します。
      次で指定:
      クラス LaunchergetArchive 
      戻り値:
      公開されたアーカイブ
    • getMainClass

      protected StringSE getMainClass() throws ExceptionSE
      クラスからコピーされた説明: Launcher
      起動するメインクラスを返します。
      次で指定:
      クラス LaunchergetMainClass 
      戻り値:
      メインクラスの名前
      例外:
      ExceptionSE - メインクラスを取得できない場合
    • getClassPathUrls

      protected SetSE<URLSE> getClassPathUrls() throws ExceptionSE
      クラスからコピーされた説明: Launcher
      クラスパスの構築に使用されるアーカイブを返します。
      次で指定:
      クラス LaunchergetClassPathUrls 
      戻り値:
      クラスパスアーカイブ
      例外:
      ExceptionSE - クラスパスアーカイブを取得できない場合
    • isSearchedDirectory

      protected boolean isSearchedDirectory(Archive.Entry entry)
      指定されたディレクトリエントリがさらに検索する候補であるかどうかを判断します。
      パラメーター:
      entry - チェックするエントリ
      戻り値:
      true (エントリがさらに検索する候補である場合)