Package | Description |
---|---|
org.springframework.boot.loader |
System that allows self-contained JAR/WAR archives to be launched using
java -jar . |
org.springframework.boot.loader.archive |
Abstraction over logical Archives be they backed by a JAR file or unpacked into a
directory.
|
Modifier and Type | Method and Description |
---|---|
protected Archive |
Launcher.createArchive() |
protected Archive |
ExecutableArchiveLauncher.getArchive() |
protected Archive |
Launcher.getArchive()
Return the root archive.
|
Modifier and Type | Method and Description |
---|---|
protected List<Archive> |
Launcher.getClassPathArchives()
Deprecated.
since 2.3.0 for removal in 2.5.0 in favor of implementing
Launcher.getClassPathArchivesIterator() . |
protected Iterator<Archive> |
ExecutableArchiveLauncher.getClassPathArchivesIterator() |
protected Iterator<Archive> |
PropertiesLauncher.getClassPathArchivesIterator() |
protected Iterator<Archive> |
Launcher.getClassPathArchivesIterator()
Returns the archives that will be used to construct the class path.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.boot.loader.ClassPathIndexFile |
ExecutableArchiveLauncher.getClassPathIndex(Archive archive) |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
ExecutableArchiveLauncher.createClassLoader(Iterator<Archive> archives) |
protected ClassLoader |
PropertiesLauncher.createClassLoader(Iterator<Archive> archives) |
protected ClassLoader |
Launcher.createClassLoader(Iterator<Archive> archives)
Create a classloader for the specified archives.
|
protected ClassLoader |
Launcher.createClassLoader(List<Archive> archives)
Deprecated.
since 2.3.0 for removal in 2.5.0 in favor of
Launcher.createClassLoader(Iterator) |
protected void |
ExecutableArchiveLauncher.postProcessClassPathArchives(List<Archive> archives)
Called to post-process archive entries before they are used.
|
Constructor and Description |
---|
ExecutableArchiveLauncher(Archive archive) |
JarLauncher(Archive archive) |
LaunchedURLClassLoader(boolean exploded,
Archive rootArchive,
URL[] urls,
ClassLoader parent)
Create a new
LaunchedURLClassLoader instance. |
WarLauncher(Archive archive) |
Modifier and Type | Class and Description |
---|---|
class |
ExplodedArchive
Archive implementation backed by an exploded archive directory. |
class |
JarFileArchive
|
Modifier and Type | Method and Description |
---|---|
protected Archive |
JarFileArchive.getNestedArchive(Archive.Entry entry) |
protected Archive |
ExplodedArchive.getNestedArchive(Archive.Entry entry) |
Modifier and Type | Method and Description |
---|---|
default List<Archive> |
Archive.getNestedArchives(Archive.EntryFilter filter)
Deprecated.
since 2.3.0 for removal in 2.5.0 in favor of
getNestedArchives(EntryFilter, EntryFilter) |
Iterator<Archive> |
JarFileArchive.getNestedArchives(Archive.EntryFilter searchFilter,
Archive.EntryFilter includeFilter) |
default Iterator<Archive> |
Archive.getNestedArchives(Archive.EntryFilter searchFilter,
Archive.EntryFilter includeFilter)
Returns nested
Archive s for entries that match the specified filters. |
Iterator<Archive> |
ExplodedArchive.getNestedArchives(Archive.EntryFilter searchFilter,
Archive.EntryFilter includeFilter) |