Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accepts(String) - Method in interface org.springframework.boot.loader.jarmode.JarMode
-
Returns if this accepts and can run the given mode.
- Archive - Interface in org.springframework.boot.loader.archive
-
An archive that can be launched by the
Launcher
. - Archive.Entry - Interface in org.springframework.boot.loader.archive
-
Represents a single entry in the archive.
- Archive.EntryFilter - Interface in org.springframework.boot.loader.archive
-
Strategy interface to filter
Entries
. - ARGS - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for default command line arguments.
B
- BOOT_CLASSPATH_INDEX_ATTRIBUTE - Static variable in class org.springframework.boot.loader.ExecutableArchiveLauncher
C
- CENATT - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENATX - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENCOM - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENCRC - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENDSK - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENEXT - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENFLG - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENHDR - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENHOW - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENLEN - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENNAM - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENOFF - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENSIG - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENSIZ - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENTIM - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENVEM - Static variable in class org.springframework.boot.loader.jar.JarFile
- CENVER - Static variable in class org.springframework.boot.loader.jar.JarFile
- clearCache() - Method in class org.springframework.boot.loader.jar.JarFile
- clearCache() - Method in class org.springframework.boot.loader.LaunchedURLClassLoader
-
Clear URL caches.
- close() - Method in interface org.springframework.boot.loader.archive.Archive
-
Closes the
Archive
, releasing any open resources. - close() - Method in class org.springframework.boot.loader.archive.JarFileArchive
- close() - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
- close() - Method in class org.springframework.boot.loader.jar.JarFile
- CONFIG_LOCATION - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for config file location (including optional classpath:, file: or URL prefix).
- CONFIG_NAME - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for name of external configuration file (excluding suffix).
- containsEntry(String) - Method in class org.springframework.boot.loader.jar.JarFile
- createArchive() - Method in class org.springframework.boot.loader.Launcher
- createClassLoader(URL[]) - Method in class org.springframework.boot.loader.Launcher
-
Create a classloader for the specified URLs.
- createClassLoader(Iterator<Archive>) - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
- createClassLoader(Iterator<Archive>) - Method in class org.springframework.boot.loader.Launcher
-
Create a classloader for the specified archives.
- createClassLoader(Iterator<Archive>) - Method in class org.springframework.boot.loader.PropertiesLauncher
- createMainMethodRunner(String, String[], ClassLoader) - Method in class org.springframework.boot.loader.Launcher
-
Create the
MainMethodRunner
used to launch the application.
D
- DEFAULT_CLASSPATH_INDEX_FILE_NAME - Static variable in class org.springframework.boot.loader.ExecutableArchiveLauncher
- definePackage(String, String, String, String, String, String, String, URL) - Method in class org.springframework.boot.loader.LaunchedURLClassLoader
- definePackage(String, Manifest, URL) - Method in class org.springframework.boot.loader.LaunchedURLClassLoader
E
- ENDCOM - Static variable in class org.springframework.boot.loader.jar.JarFile
- ENDHDR - Static variable in class org.springframework.boot.loader.jar.JarFile
- ENDOFF - Static variable in class org.springframework.boot.loader.jar.JarFile
- ENDSIG - Static variable in class org.springframework.boot.loader.jar.JarFile
- ENDSIZ - Static variable in class org.springframework.boot.loader.jar.JarFile
- ENDSUB - Static variable in class org.springframework.boot.loader.jar.JarFile
- ENDTOT - Static variable in class org.springframework.boot.loader.jar.JarFile
- entries() - Method in class org.springframework.boot.loader.jar.JarFile
- ExecutableArchiveLauncher - Class in org.springframework.boot.loader
-
Base class for executable archive
Launcher
s. - ExecutableArchiveLauncher() - Constructor for class org.springframework.boot.loader.ExecutableArchiveLauncher
- ExecutableArchiveLauncher(Archive) - Constructor for class org.springframework.boot.loader.ExecutableArchiveLauncher
- ExplodedArchive - Class in org.springframework.boot.loader.archive
-
Archive
implementation backed by an exploded archive directory. - ExplodedArchive(File) - Constructor for class org.springframework.boot.loader.archive.ExplodedArchive
-
Create a new
ExplodedArchive
instance. - ExplodedArchive(File, boolean) - Constructor for class org.springframework.boot.loader.archive.ExplodedArchive
-
Create a new
ExplodedArchive
instance. - EXTCRC - Static variable in class org.springframework.boot.loader.jar.JarFile
- EXTHDR - Static variable in class org.springframework.boot.loader.jar.JarFile
- EXTLEN - Static variable in class org.springframework.boot.loader.jar.JarFile
- EXTSIG - Static variable in class org.springframework.boot.loader.jar.JarFile
- EXTSIZ - Static variable in class org.springframework.boot.loader.jar.JarFile
F
- findResource(String) - Method in class org.springframework.boot.loader.LaunchedURLClassLoader
- findResources(String) - Method in class org.springframework.boot.loader.LaunchedURLClassLoader
G
- getArchive() - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
- getArchive() - Method in class org.springframework.boot.loader.Launcher
-
Return the root archive.
- getArchiveEntryPathPrefix() - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
-
Return the path prefix for entries in the archive.
- getArchiveEntryPathPrefix() - Method in class org.springframework.boot.loader.JarLauncher
- getArchiveEntryPathPrefix() - Method in class org.springframework.boot.loader.WarLauncher
- getArgs(String...) - Method in class org.springframework.boot.loader.PropertiesLauncher
- getClassPathArchivesIterator() - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
- getClassPathArchivesIterator() - Method in class org.springframework.boot.loader.Launcher
-
Returns the archives that will be used to construct the class path.
- getClassPathArchivesIterator() - Method in class org.springframework.boot.loader.PropertiesLauncher
- getClassPathIndex(Archive) - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
- getComment() - Method in class org.springframework.boot.loader.jar.JarFile
- getEntry(String) - Method in class org.springframework.boot.loader.jar.JarFile
- getFile() - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
-
Returns the underlying File.
- getHomeDirectory() - Method in class org.springframework.boot.loader.PropertiesLauncher
- getInputStream() - Method in interface org.springframework.boot.loader.data.RandomAccessData
-
Returns an
InputStream
that can be used to read the underlying data. - getInputStream() - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
- getInputStream(ZipEntry) - Method in class org.springframework.boot.loader.jar.JarFile
- getJarEntry(CharSequence) - Method in class org.springframework.boot.loader.jar.JarFile
- getJarEntry(String) - Method in class org.springframework.boot.loader.jar.JarFile
- getMainClass() - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
- getMainClass() - Method in class org.springframework.boot.loader.Launcher
-
Returns the main class that should be launched.
- getMainClass() - Method in class org.springframework.boot.loader.PropertiesLauncher
- getManifest() - Method in interface org.springframework.boot.loader.archive.Archive
-
Returns the manifest of the archive.
- getManifest() - Method in class org.springframework.boot.loader.archive.ExplodedArchive
- getManifest() - Method in class org.springframework.boot.loader.archive.JarFileArchive
- getManifest() - Method in class org.springframework.boot.loader.jar.JarFile
- getName() - Method in interface org.springframework.boot.loader.archive.Archive.Entry
-
Returns the name of the entry.
- getName() - Method in class org.springframework.boot.loader.jar.JarFile
- getNestedArchive(Archive.Entry) - Method in class org.springframework.boot.loader.archive.ExplodedArchive
- getNestedArchive(Archive.Entry) - Method in class org.springframework.boot.loader.archive.JarFileArchive
- getNestedArchives(Archive.EntryFilter, Archive.EntryFilter) - Method in interface org.springframework.boot.loader.archive.Archive
-
Returns nested
Archive
s for entries that match the specified filters. - getNestedArchives(Archive.EntryFilter, Archive.EntryFilter) - Method in class org.springframework.boot.loader.archive.ExplodedArchive
- getNestedArchives(Archive.EntryFilter, Archive.EntryFilter) - Method in class org.springframework.boot.loader.archive.JarFileArchive
- getNestedJarFile(ZipEntry) - Method in class org.springframework.boot.loader.jar.JarFile
-
Return a nested
JarFile
loaded from the specified entry. - getNestedJarFile(JarEntry) - Method in class org.springframework.boot.loader.jar.JarFile
-
Return a nested
JarFile
loaded from the specified entry. - getPathFromRoot() - Method in class org.springframework.boot.loader.jar.JarFile
- getProperty(String) - Static method in class org.springframework.boot.loader.util.SystemPropertyUtils
- getProperty(String, String) - Static method in class org.springframework.boot.loader.util.SystemPropertyUtils
- getProperty(String, String, String) - Static method in class org.springframework.boot.loader.util.SystemPropertyUtils
-
Search the System properties and environment variables for a value with the provided key.
- getRootJarFile() - Method in class org.springframework.boot.loader.jar.JarFile
- getRootJarFileFromUrl(URL) - Method in class org.springframework.boot.loader.jar.Handler
- getSize() - Method in interface org.springframework.boot.loader.data.RandomAccessData
-
Returns the size of the data.
- getSize() - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
- getSubsection(long, long) - Method in interface org.springframework.boot.loader.data.RandomAccessData
-
Returns a new
RandomAccessData
for a specific subsection of this data. - getSubsection(long, long) - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
- getUrl() - Method in interface org.springframework.boot.loader.archive.Archive
-
Returns a URL that can be used to load the archive.
- getUrl() - Method in class org.springframework.boot.loader.archive.ExplodedArchive
- getUrl() - Method in class org.springframework.boot.loader.archive.JarFileArchive
- getUrl() - Method in class org.springframework.boot.loader.jar.JarFile
H
- Handler - Class in org.springframework.boot.loader.jar
-
URLStreamHandler
for Spring Boot loaderJarFile
s. - Handler() - Constructor for class org.springframework.boot.loader.jar.Handler
- Handler(JarFile) - Constructor for class org.springframework.boot.loader.jar.Handler
- hashCode(URL) - Method in class org.springframework.boot.loader.jar.Handler
- HOME - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for home directory.
I
- isDirectory() - Method in interface org.springframework.boot.loader.archive.Archive.Entry
-
Returns
true
if the entry represents a directory. - isExploded() - Method in interface org.springframework.boot.loader.archive.Archive
-
Return if the archive is exploded (already unpacked).
- isExploded() - Method in class org.springframework.boot.loader.archive.ExplodedArchive
- isExploded() - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
- isExploded() - Method in class org.springframework.boot.loader.Launcher
-
Returns if the launcher is running in an exploded mode.
- isNestedArchive(Archive.Entry) - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
-
Determine if the specified entry is a nested item that should be added to the classpath.
- isNestedArchive(Archive.Entry) - Method in class org.springframework.boot.loader.JarLauncher
- isNestedArchive(Archive.Entry) - Method in class org.springframework.boot.loader.WarLauncher
- isPostProcessingClassPathArchives() - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
-
Return if post-processing needs to be applied to the archives.
- isPostProcessingClassPathArchives() - Method in class org.springframework.boot.loader.JarLauncher
- isPostProcessingClassPathArchives() - Method in class org.springframework.boot.loader.WarLauncher
- isSearchCandidate(Archive.Entry) - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
-
Determine if the specified entry is a candidate for further searching.
- iterator() - Method in class org.springframework.boot.loader.archive.ExplodedArchive
-
Deprecated.
- iterator() - Method in class org.springframework.boot.loader.archive.JarFileArchive
-
Deprecated.
- iterator() - Method in class org.springframework.boot.loader.jar.JarFile
-
Return an iterator for the contained entries.
J
- JarFile - Class in org.springframework.boot.loader.jar
-
Extended variant of
JarFile
that behaves in the same way but offers the following additional functionality. - JarFile(File) - Constructor for class org.springframework.boot.loader.jar.JarFile
-
Create a new
JarFile
backed by the specified file. - JarFileArchive - Class in org.springframework.boot.loader.archive
- JarFileArchive(File) - Constructor for class org.springframework.boot.loader.archive.JarFileArchive
- JarFileArchive(File, URL) - Constructor for class org.springframework.boot.loader.archive.JarFileArchive
- JarFileArchive(JarFile) - Constructor for class org.springframework.boot.loader.archive.JarFileArchive
- JarLauncher - Class in org.springframework.boot.loader
-
Launcher
for JAR based archives. - JarLauncher() - Constructor for class org.springframework.boot.loader.JarLauncher
- JarLauncher(Archive) - Constructor for class org.springframework.boot.loader.JarLauncher
- JarMode - Interface in org.springframework.boot.loader.jarmode
-
Interface registered in
spring.factories
to provides extended 'jarmode' support. - JarModeLauncher - Class in org.springframework.boot.loader.jarmode
-
Delegate class used to launch the fat jar in a specific mode.
L
- launch(String[]) - Method in class org.springframework.boot.loader.Launcher
-
Launch the application.
- launch(String[], String, ClassLoader) - Method in class org.springframework.boot.loader.Launcher
-
Launch the application given the archive file and a fully configured classloader.
- LaunchedURLClassLoader - Class in org.springframework.boot.loader
-
ClassLoader
used by theLauncher
. - LaunchedURLClassLoader(boolean, URL[], ClassLoader) - Constructor for class org.springframework.boot.loader.LaunchedURLClassLoader
-
Create a new
LaunchedURLClassLoader
instance. - LaunchedURLClassLoader(boolean, Archive, URL[], ClassLoader) - Constructor for class org.springframework.boot.loader.LaunchedURLClassLoader
-
Create a new
LaunchedURLClassLoader
instance. - LaunchedURLClassLoader(URL[], ClassLoader) - Constructor for class org.springframework.boot.loader.LaunchedURLClassLoader
-
Create a new
LaunchedURLClassLoader
instance. - Launcher - Class in org.springframework.boot.loader
-
Base class for launchers that can start an application with a fully configured classpath backed by one or more
Archive
s. - Launcher() - Constructor for class org.springframework.boot.loader.Launcher
- loadClass(String, boolean) - Method in class org.springframework.boot.loader.LaunchedURLClassLoader
- LOCCRC - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCEXT - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCFLG - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCHDR - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCHOW - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCLEN - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCNAM - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCSIG - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCSIZ - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCTIM - Static variable in class org.springframework.boot.loader.jar.JarFile
- LOCVER - Static variable in class org.springframework.boot.loader.jar.JarFile
M
- main(String[]) - Static method in class org.springframework.boot.loader.JarLauncher
- main(String[]) - Static method in class org.springframework.boot.loader.jarmode.JarModeLauncher
- main(String[]) - Static method in class org.springframework.boot.loader.PropertiesLauncher
- main(String[]) - Static method in class org.springframework.boot.loader.WarLauncher
- MAIN - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for main class.
- MainMethodRunner - Class in org.springframework.boot.loader
-
Utility class that is used by
Launcher
s to call a main method. - MainMethodRunner(String, String[]) - Constructor for class org.springframework.boot.loader.MainMethodRunner
-
Create a new
MainMethodRunner
instance. - matches(Archive.Entry) - Method in interface org.springframework.boot.loader.archive.Archive.EntryFilter
-
Apply the jar entry filter.
O
- openConnection(URL) - Method in class org.springframework.boot.loader.jar.Handler
- org.springframework.boot.loader - package org.springframework.boot.loader
-
System that allows self-contained JAR/WAR archives to be launched using
java -jar
. - org.springframework.boot.loader.archive - package org.springframework.boot.loader.archive
-
Abstraction over logical Archives be they backed by a JAR file or unpacked into a directory.
- org.springframework.boot.loader.data - package org.springframework.boot.loader.data
-
Classes and interfaces to allow random access to a block of data.
- org.springframework.boot.loader.jar - package org.springframework.boot.loader.jar
-
Support for loading and manipulating JAR/WAR files.
- org.springframework.boot.loader.jarmode - package org.springframework.boot.loader.jarmode
-
Support for launching the JAR using jarmode.
- org.springframework.boot.loader.util - package org.springframework.boot.loader.util
-
Utilities used by Spring Boot's JAR loading.
P
- parseURL(URL, String, int, int) - Method in class org.springframework.boot.loader.jar.Handler
- PATH - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for classpath entries (directories possibly containing jars or jars).
- PLACEHOLDER_PREFIX - Static variable in class org.springframework.boot.loader.util.SystemPropertyUtils
-
Prefix for system property placeholders: "${".
- PLACEHOLDER_SUFFIX - Static variable in class org.springframework.boot.loader.util.SystemPropertyUtils
-
Suffix for system property placeholders: "}".
- postProcessClassPathArchives(List<Archive>) - Method in class org.springframework.boot.loader.ExecutableArchiveLauncher
-
Called to post-process archive entries before they are used.
- PropertiesLauncher - Class in org.springframework.boot.loader
-
Launcher
for archives with user-configured classpath and main class through a properties file. - PropertiesLauncher() - Constructor for class org.springframework.boot.loader.PropertiesLauncher
R
- RandomAccessData - Interface in org.springframework.boot.loader.data
-
Interface that provides read-only random access to some underlying data.
- RandomAccessDataFile - Class in org.springframework.boot.loader.data
-
RandomAccessData
implementation backed by aRandomAccessFile
. - RandomAccessDataFile(File) - Constructor for class org.springframework.boot.loader.data.RandomAccessDataFile
-
Create a new
RandomAccessDataFile
backed by the specified file. - read() - Method in interface org.springframework.boot.loader.data.RandomAccessData
-
Reads all the data and returns it as a byte array.
- read() - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
- read(long, long) - Method in interface org.springframework.boot.loader.data.RandomAccessData
-
Reads the
length
bytes of data starting at the givenoffset
. - read(long, long) - Method in class org.springframework.boot.loader.data.RandomAccessDataFile
- registerUrlProtocolHandler() - Static method in class org.springframework.boot.loader.jar.JarFile
-
Register a 'java.protocol.handler.pkgs' property so that a
URLStreamHandler
will be located to deal with jar URLs. - resolvePlaceholders(String) - Static method in class org.springframework.boot.loader.util.SystemPropertyUtils
-
Resolve ${...} placeholders in the given text, replacing them with corresponding system property values.
- resolvePlaceholders(Properties, String) - Static method in class org.springframework.boot.loader.util.SystemPropertyUtils
-
Resolve ${...} placeholders in the given text, replacing them with corresponding system property values.
- run() - Method in class org.springframework.boot.loader.MainMethodRunner
- run(String, String[]) - Method in interface org.springframework.boot.loader.jarmode.JarMode
-
Run the jar in the given mode.
S
- sameFile(URL, URL) - Method in class org.springframework.boot.loader.jar.Handler
- SET_SYSTEM_PROPERTIES - Static variable in class org.springframework.boot.loader.PropertiesLauncher
-
Properties key for boolean flag (default false) which, if set, will cause the external configuration properties to be copied to System properties (assuming that is allowed by Java security).
- setUseFastConnectionExceptions(boolean) - Static method in class org.springframework.boot.loader.jar.Handler
-
Set if a generic static exception can be thrown when a URL cannot be connected.
- size() - Method in class org.springframework.boot.loader.jar.JarFile
- stream() - Method in class org.springframework.boot.loader.jar.JarFile
- SystemPropertyUtils - Class in org.springframework.boot.loader.util
-
Helper class for resolving placeholders in texts.
- SystemPropertyUtils() - Constructor for class org.springframework.boot.loader.util.SystemPropertyUtils
T
- toCamelCase(CharSequence) - Static method in class org.springframework.boot.loader.PropertiesLauncher
- toString() - Method in class org.springframework.boot.loader.archive.ExplodedArchive
- toString() - Method in class org.springframework.boot.loader.archive.JarFileArchive
- toString() - Method in class org.springframework.boot.loader.jar.JarFile
V
- VALUE_SEPARATOR - Static variable in class org.springframework.boot.loader.util.SystemPropertyUtils
-
Value separator for system property placeholders: ":".
W
- WarLauncher - Class in org.springframework.boot.loader
-
Launcher
for WAR based archives. - WarLauncher() - Constructor for class org.springframework.boot.loader.WarLauncher
- WarLauncher(Archive) - Constructor for class org.springframework.boot.loader.WarLauncher
All Classes and Interfaces|All Packages|Constant Field Values