Package | Description |
---|---|
org.springframework.boot.builder |
Fluent 'builder' style API to construct a
SpringApplication . |
org.springframework.boot.context.config |
External configuration support allowing 'application.properties' to be loaded
and used within a Spring Boot application.
|
org.springframework.boot.context.event |
ApplicationEvents triggered by Spring Boot. |
org.springframework.boot.context.web |
Spring
ApplicationContext support relating to web
deployment. |
org.springframework.boot.test |
Classes and utilities that are useful when unit-testing Spring Boot applications.
|
Modifier and Type | Method and Description |
---|---|
SpringApplication |
SpringApplicationBuilder.application()
Accessor for the current application.
|
SpringApplication |
SpringApplicationBuilder.build()
Returns a fully configured
SpringApplication that is ready to run. |
protected SpringApplication |
SpringApplicationBuilder.createSpringApplication(Object... sources)
Creates a new
SpringApplication instances from the
given sources. |
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigFileApplicationListener.bindToSpringApplication(ConfigurableEnvironment environment,
SpringApplication application)
Bind the environment to the
SpringApplication . |
Modifier and Type | Method and Description |
---|---|
SpringApplication |
SpringApplicationEvent.getSpringApplication() |
Constructor and Description |
---|
ApplicationEnvironmentPreparedEvent(SpringApplication application,
String[] args,
ConfigurableEnvironment environment) |
ApplicationFailedEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context,
Throwable exception) |
ApplicationPreparedEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context) |
ApplicationReadyEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context) |
ApplicationStartedEvent(SpringApplication application,
String[] args) |
EventPublishingRunListener(SpringApplication application,
String[] args) |
SpringApplicationEvent(SpringApplication application,
String[] args) |
Modifier and Type | Method and Description |
---|---|
protected WebApplicationContext |
SpringBootServletInitializer.run(SpringApplication application)
Called to run a fully configured
SpringApplication . |
Modifier and Type | Method and Description |
---|---|
protected SpringApplication |
SpringApplicationContextLoader.getSpringApplication()
Builds new
SpringApplication instance. |
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.