Uses of Class
org.springframework.boot.SpringApplication
Package
Description
Fluent 'builder' style API to construct a
SpringApplication
.Low level support for Cloud deployments.
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
ApplicationEvents
triggered by
Spring Boot.DevTools classes relating to Spring Framework's
Environment
.Spring
Environment
support.Support classes for Reactor integration.
Classes and annotations related to configuring Spring's
ApplicationContext
for
tests.Support classes for Servlet-based web servers.
-
Uses of SpringApplication in org.springframework.boot.builder
Modifier and TypeMethodDescriptionSpringApplicationBuilder.application()
Accessor for the current application.SpringApplicationBuilder.build()
Returns a fully configuredSpringApplication
that is ready to run.Returns a fully configuredSpringApplication
that is ready to run.protected SpringApplication
SpringApplicationBuilder.createSpringApplication
(ResourceLoader resourceLoader, Class<?>... sources) Creates a newSpringApplication
instance from the given sources using the givenResourceLoader
. -
Uses of SpringApplication in org.springframework.boot.cloud
Modifier and TypeMethodDescriptionvoid
CloudFoundryVcapEnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.context.config
Modifier and TypeMethodDescriptionvoid
ConfigDataEnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.context.event
ModifierConstructorDescriptionApplicationContextInitializedEvent
(SpringApplication application, String[] args, ConfigurableApplicationContext context) Create a newApplicationContextInitializedEvent
instance.ApplicationEnvironmentPreparedEvent
(ConfigurableBootstrapContext bootstrapContext, SpringApplication application, String[] args, ConfigurableEnvironment environment) Create a newApplicationEnvironmentPreparedEvent
instance.ApplicationFailedEvent
(SpringApplication application, String[] args, ConfigurableApplicationContext context, Throwable exception) Create a newApplicationFailedEvent
instance.ApplicationPreparedEvent
(SpringApplication application, String[] args, ConfigurableApplicationContext context) Create a newApplicationPreparedEvent
instance.ApplicationReadyEvent
(SpringApplication application, String[] args, ConfigurableApplicationContext context, Duration timeTaken) Create a newApplicationReadyEvent
instance.ApplicationStartedEvent
(SpringApplication application, String[] args, ConfigurableApplicationContext context, Duration timeTaken) Create a newApplicationStartedEvent
instance.ApplicationStartingEvent
(ConfigurableBootstrapContext bootstrapContext, SpringApplication application, String[] args) Create a newApplicationStartingEvent
instance.EventPublishingRunListener
(SpringApplication application, String[] args) SpringApplicationEvent
(SpringApplication application, String[] args) -
Uses of SpringApplication in org.springframework.boot.devtools.env
Modifier and TypeMethodDescriptionvoid
DevToolsHomePropertiesPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) void
DevToolsPropertyDefaultsPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.env
Modifier and TypeMethodDescriptionvoid
EnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment
.void
RandomValuePropertySourceEnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) void
SpringApplicationJsonEnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) void
SystemEnvironmentPropertySourceEnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.reactor
Modifier and TypeMethodDescriptionvoid
DebugAgentEnvironmentPostProcessor.postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.test.context
Modifier and TypeMethodDescriptionprotected SpringApplication
SpringBootContextLoader.getSpringApplication()
Builds newSpringApplication
instance.Modifier and TypeMethodDescriptionprotected List<ApplicationContextInitializer<?>>
SpringBootContextLoader.getInitializers
(MergedContextConfiguration config, SpringApplication application) Return theinitializers
that will be applied to the context. -
Uses of SpringApplication in org.springframework.boot.web.servlet.support
Modifier and TypeMethodDescriptionprotected WebApplicationContext
SpringBootServletInitializer.run
(SpringApplication application) Called to run a fully configuredSpringApplication
.