Package-level declarations
Types
Link copied to clipboard
Exception thrown when the AOT initializer couldn't be found.
Link copied to clipboard
interface ApplicationArguments
Provides access to the arguments that were used to run a SpringApplication.
Link copied to clipboard
Strategy interface for creating the ConfigurableApplicationContext used by a SpringApplication.
Link copied to clipboard
Interface used to indicate that a bean should run when it is contained within a SpringApplication.
Link copied to clipboard
Interface class for writing a banner programmatically.
Link copied to clipboard
interface BootstrapContext
A simple bootstrap context that is available during startup and Environment post-processing up to the point that the ApplicationContext is prepared.
Link copied to clipboard
ApplicationEvent published by a BootstrapContext when it's closed.
Link copied to clipboard
interface BootstrapRegistry
A simple object registry that is available during startup and Environment post-processing up to the point that the ApplicationContext is prepared.
Link copied to clipboard
Callback interface that can be used to initialize a BootstrapRegistry before it is used.
Link copied to clipboard
Interface used to indicate that a bean should run when it is contained within a SpringApplication.
Link copied to clipboard
A BootstrapContext that also provides configuration methods through the BootstrapRegistry interface.
Link copied to clipboard
Default implementation of ApplicationArguments.
Link copied to clipboard
Default ConfigurableBootstrapContext implementation.
Link copied to clipboard
MapPropertySource containing default properties contributed directly to a
SpringApplication
.Link copied to clipboard
Event fired when an application exit code has been determined from an ExitCodeGenerator.
Link copied to clipboard
Strategy interface that can be used to provide a mapping between exceptions and exit codes.
Link copied to clipboard
Interface used to generate an 'exit code' from a running command line SpringApplication.
Link copied to clipboard
BeanFactoryPostProcessor to set lazy-init on bean definitions that are not excluded and have not already had a value explicitly set.
Link copied to clipboard
Filter that can be used to exclude beans definitions from having their lazy-init set by the LazyInitializationBeanFactoryPostProcessor.
Link copied to clipboard
Banner implementation that prints from a source text Resource.
Link copied to clipboard
Class that can be used to bootstrap and launch a Spring application from a Java main method.
Link copied to clipboard
Entry point for AOT processing of a SpringApplication.
Link copied to clipboard
Low-level hook that can be used to attach a SpringApplicationRunListener to a SpringApplication in order to observe or modify its behavior.
Link copied to clipboard
interface SpringApplicationRunListener
Listener for the SpringApplication
run
method.Link copied to clipboard
interface SpringApplicationShutdownHandlers
Interface that can be used to add or remove code that should run when the JVM is shutdown.
Link copied to clipboard
Indicates that a class provides Spring Boot application @Configuration.
Link copied to clipboard
Callback interface used to support custom reporting of SpringApplication startup errors.
Link copied to clipboard
class SpringBootVersion
Exposes the Spring Boot version.
Link copied to clipboard
enum WebApplicationType
An enumeration of possible types of web application.
Functions
Link copied to clipboard
Top-level function acting as a Kotlin shortcut allowing to write fromApplication<MyApplication>().with(...)
. This method assumes that the main
function is declared in the same file as T
.
Link copied to clipboard
Top-level function acting as a Kotlin shortcut allowing to write runApplication<MyApplication>(arg1, arg2)
instead of SpringApplication.run(MyApplication::class.java, arg1, arg2)
.
inline fun <T : Any> runApplication(vararg args: String, init: SpringApplication.() -> Unit): ConfigurableApplicationContext
Top-level function acting as a Kotlin shortcut allowing to write runApplication<MyApplication>(arg1, arg2) { // SpringApplication customization ... }
instead of instantiating SpringApplication
class, customize it and then invoking run(arg1, arg2)
.
Link copied to clipboard
Extension function that allows SpringApplication.Augmented.with to work with Kotlin classes.