Uses of Class
org.springframework.boot.SpringApplication
Packages that use SpringApplication
Package
Description
Core Spring Boot classes.
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.Auto-configuration for OpenTelemetry.
Support classes for Reactor integration.
Classes supporting application concerns and the org.springframework.boot package.
Support for mapping annotation attribute values in the Spring
Environment.Support classes for Servlet-based web servers.
-
Uses of SpringApplication in org.springframework.boot
Methods in org.springframework.boot with parameters of type SpringApplicationModifier and TypeMethodDescription@Nullable SpringApplicationRunListenerSpringApplicationHook.getRunListener(SpringApplication springApplication) Return theSpringApplicationRunListenerthat should be hooked into the givenSpringApplication.voidEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment. -
Uses of SpringApplication in org.springframework.boot.builder
Methods in org.springframework.boot.builder that return SpringApplicationModifier and TypeMethodDescriptionSpringApplicationBuilder.application()Accessor for the current application.SpringApplicationBuilder.build()Returns a fully configuredSpringApplicationthat is ready to run.Returns a fully configuredSpringApplicationthat is ready to run.protected SpringApplicationSpringApplicationBuilder.createSpringApplication(@Nullable ResourceLoader resourceLoader, Class<?>... sources) Creates a newSpringApplicationinstance from the given sources using the givenResourceLoader. -
Uses of SpringApplication in org.springframework.boot.cloud
Methods in org.springframework.boot.cloud with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidCloudFoundryVcapEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.context.config
Methods in org.springframework.boot.context.config with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidConfigDataEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.context.event
Methods in org.springframework.boot.context.event that return SpringApplicationConstructors in org.springframework.boot.context.event with parameters of type SpringApplicationModifierConstructorDescriptionApplicationContextInitializedEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context) Create a newApplicationContextInitializedEventinstance.ApplicationEnvironmentPreparedEvent(ConfigurableBootstrapContext bootstrapContext, SpringApplication application, String[] args, ConfigurableEnvironment environment) Create a newApplicationEnvironmentPreparedEventinstance.ApplicationFailedEvent(SpringApplication application, String[] args, @Nullable ConfigurableApplicationContext context, Throwable exception) Create a newApplicationFailedEventinstance.ApplicationPreparedEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context) Create a newApplicationPreparedEventinstance.ApplicationReadyEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context, @Nullable Duration timeTaken) Create a newApplicationReadyEventinstance.ApplicationStartedEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context, @Nullable Duration timeTaken) Create a newApplicationStartedEventinstance.ApplicationStartingEvent(ConfigurableBootstrapContext bootstrapContext, SpringApplication application, String[] args) Create a newApplicationStartingEventinstance.SpringApplicationEvent(SpringApplication application, String[] args) -
Uses of SpringApplication in org.springframework.boot.devtools.env
Methods in org.springframework.boot.devtools.env with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidDevToolsHomePropertiesPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) voidDevToolsPropertyDefaultsPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.env
Methods in org.springframework.boot.env with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) Deprecated, for removal: This API element is subject to removal in a future version.Post-process the givenenvironment. -
Uses of SpringApplication in org.springframework.boot.opentelemetry.autoconfigure
Methods in org.springframework.boot.opentelemetry.autoconfigure with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidOpenTelemetryEnvironmentVariableEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.reactor
Methods in org.springframework.boot.reactor with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidReactorEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.support
Methods in org.springframework.boot.support with parameters of type SpringApplicationModifier and TypeMethodDescriptionvoidRandomValuePropertySourceEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) voidSpringApplicationJsonEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) voidSystemEnvironmentPropertySourceEnvironmentPostProcessor.postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) -
Uses of SpringApplication in org.springframework.boot.test.context
Methods in org.springframework.boot.test.context that return SpringApplicationModifier and TypeMethodDescriptionprotected SpringApplicationSpringBootContextLoader.getSpringApplication()Builds newSpringApplicationinstance.Methods in org.springframework.boot.test.context with parameters of type SpringApplicationModifier and TypeMethodDescriptionprotected List<ApplicationContextInitializer<?>> SpringBootContextLoader.getInitializers(MergedContextConfiguration mergedConfig, SpringApplication application) Return theinitializersthat will be applied to the context. -
Uses of SpringApplication in org.springframework.boot.web.servlet.support
Methods in org.springframework.boot.web.servlet.support with parameters of type SpringApplicationModifier and TypeMethodDescriptionprotected @Nullable WebApplicationContextSpringBootServletInitializer.run(SpringApplication application) Called to run a fully configuredSpringApplication.