public class WarLauncher extends ExecutableArchiveLauncher
Launcher
。標準の WAR アーカイブ用のこのランチャー。WEB-INF/lib
および WEB-INF/lib-provided
の依存関係をサポートし、クラスは WEB-INF/classes
からロードされます。BOOT_CLASSPATH_INDEX_ATTRIBUTE
修飾子 | コンストラクターと説明 |
---|---|
| WarLauncher() |
protected | WarLauncher(Archive archive) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | isNestedArchive(Archive.Entry entry) 指定されたエントリがクラスパスに追加する必要があるネストされたアイテムであるかどうかを確認します。 |
protected boolean | isPostProcessingClassPathArchives() 後処理をアーカイブに適用する必要がある場合に戻ります。 |
protected boolean | isSearchCandidate(Archive.Entry entry) 指定されたエントリがさらに検索する候補であるかどうかを確認します。 |
static void | main(StringSE[] args) |
createClassLoader, getArchive, getClassPathArchivesIterator, getClassPathIndex, getMainClass, isExploded, postProcessClassPathArchives
createArchive, createClassLoader, createClassLoader, createMainMethodRunner, getClassPathArchives, launch, launch
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public WarLauncher()
protected WarLauncher(Archive archive)
protected boolean isPostProcessingClassPathArchives()
ExecutableArchiveLauncher
true
を返しますが、ExecutableArchiveLauncher.postProcessClassPathArchives(List)
をオーバーライドしないサブクラスは、false
を返す実装を提供する必要があります。ExecutableArchiveLauncher
の isPostProcessingClassPathArchives
ExecutableArchiveLauncher.postProcessClassPathArchives(List)
メソッドが実装されている場合 protected boolean isSearchCandidate(Archive.Entry entry)
ExecutableArchiveLauncher
ExecutableArchiveLauncher
の isSearchCandidate
entry
- チェックするエントリ true
(エントリがさらに検索する候補である場合)public boolean isNestedArchive(Archive.Entry entry)
ExecutableArchiveLauncher
ExecutableArchiveLauncher
の isNestedArchive
entry
- チェックするエントリ true
(jar またはディレクトリ)public static void main(StringSE[] args) throws ExceptionSE
ExceptionSE