org.springframework.boot.loader
Class JarLauncher
java.lang.Object
org.springframework.boot.loader.Launcher
org.springframework.boot.loader.JarLauncher
public class JarLauncher
- extends Launcher
Launcher for JAR based archives. This launcher assumes that dependency jars are
included inside a /lib directory.
- Author:
- Phillip Webb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarLauncher
public JarLauncher()
isNestedArchive
protected boolean isNestedArchive(Archive.Entry entry)
- Description copied from class:
Launcher
- Determine if the specified
JarEntry is a nested item that should be added
to the classpath. The method is called once for each entry.
- Specified by:
isNestedArchive in class Launcher
- Parameters:
entry - the jar entry
- Returns:
true if the entry is a nested item (jar or folder)
postProcessLib
protected void postProcessLib(Archive archive,
List<Archive> lib)
throws Exception
- Description copied from class:
Launcher
- Called to post-process lib entries before they are used. Implementations can add
and remove entries.
- Overrides:
postProcessLib in class Launcher
- Parameters:
archive - the archivelib - the existing lib
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.