Constructor and Description |
---|
WarLauncher() |
Modifier and Type | Method and Description |
---|---|
protected Archive |
filterArchive(Archive archive)
Filter the specified WAR file to exclude elements that should not appear on the
classpath.
|
protected boolean |
isNestedArchive(Archive.Entry entry)
Determine if the specified
JarEntry is a nested item that should be added
to the classpath. |
static void |
main(String[] args) |
protected void |
postProcessLib(Archive archive,
List<Archive> lib)
Called to post-process lib entries before they are used.
|
createClassLoader, createClassLoader, createMainMethodRunner, getMainClass, launch, launch, launch, launch
protected boolean isNestedArchive(Archive.Entry entry)
Launcher
JarEntry
is a nested item that should be added
to the classpath. The method is called once for each entry.isNestedArchive
in class Launcher
entry
- the jar entrytrue
if the entry is a nested item (jar or folder)protected void postProcessLib(Archive archive, List<Archive> lib) throws Exception
Launcher
postProcessLib
in class Launcher
archive
- the archivelib
- the existing libException
protected Archive filterArchive(Archive archive) throws IOException
archive
- the source archiveIOException
- on errorpublic static void main(String[] args)
Copyright © 2013. All rights reserved.