程序包 org.springframework.boot.loader.tools
Tools for generating executable JAR/WAR files.
接口概要 接口 说明 CustomLoaderLayout Additional interface that can be implemented byLayouts
that write their own loader classes.LaunchScript A script that can be prepended to the front of a JAR file to make it executable.Layout Strategy interface used to determine the layout for a particular type of archive.LayoutFactory Factory interface used to create aLayout
.Libraries Encapsulates information about libraries that may be packed into the archive.LibraryCallback Callback interface used to iterateLibraries
.LibraryScope The scope of a library.LoaderClassesWriter Writer used byCustomLoaderLayouts
to write classes into a repackaged JAR.Repackager.MainClassTimeoutWarningListener Callback interface used to present a warning when finding the main class takes too long.RepackagingLayout A specialization ofLayout
that repackages an existing archive by moving its content to a new location.类概要 类 说明 AgentAttacher Utility class to attach an instrumentation agent to the running JVM.BuildPropertiesWriter ABuildPropertiesWriter
writes thebuild-info.properties
for consumption by the Actuator.BuildPropertiesWriter.ProjectDetails Build-system agnostic details of a project.DefaultLaunchScript Default implementation ofLaunchScript
.DefaultLayoutFactory Default implementation ofLayoutFactory
.FileUtils Utilities for manipulating files and directories in Spring Boot tooling.JarWriter Writes JAR content, ensuring valid directory entries are always create and duplicate items are ignored.JavaExecutable Provides access to the java binary executable, regardless of OS.Layouts CommonLayout
s.Layouts.Expanded Executable expanded archive layout.Layouts.Jar Executable JAR layout.Layouts.Module 已过时。 as of 1.5 in favor of a customLayoutFactory
Layouts.None No layout.Layouts.War Executable WAR layout.Library Encapsulates information about a single library that may be packed into the archive.LogbackInitializer Utility to initialize logback (when present) to use INFO level logging.MainClassFinder Finds any class with apublic static main
method by performing a breadth first search.Repackager Utility class that can be used to repackage an archive so that it can be executed using 'java -jar'.RunProcess Utility used to run a process.SignalUtils Utilities for working with signal handling.异常错误概要 异常错误 说明 BuildPropertiesWriter.NullAdditionalPropertyValueException Exception thrown when an additional property with a null value is encountered.