Package | Description |
---|---|
org.springframework.boot.autoconfigure |
Spring Boot's auto-configuration capabilities.
|
org.springframework.boot.context |
Classes related to Spring's
ApplicationContext . |
org.springframework.boot.context.event |
ApplicationEvents triggered by
Spring Boot. |
org.springframework.boot.context.properties.migrator |
Support for migrating legacy Spring Boot properties.
|
Modifier and Type | Method and Description |
---|---|
void |
BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationPidFileWriter.onApplicationEvent(SpringApplicationEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationPidFileWriter.setTriggerEventType(Class<? extends SpringApplicationEvent> triggerEventType)
Sets the type of application event that will trigger writing of the PID file.
|
Modifier and Type | Class and Description |
---|---|
class |
ApplicationContextInitializedEvent
Event published when a
SpringApplication is starting up and the
ApplicationContext is prepared and ApplicationContextInitializers have been
called but before any bean definitions are loaded. |
class |
ApplicationEnvironmentPreparedEvent
Event published when a
SpringApplication is starting up and the
Environment is first available for inspection and modification. |
class |
ApplicationFailedEvent
Event published by a
SpringApplication when it fails to start. |
class |
ApplicationPreparedEvent
Event published as when a
SpringApplication is starting up and the
ApplicationContext is fully prepared but not refreshed. |
class |
ApplicationReadyEvent
Event published as late as conceivably possible to indicate that the application is
ready to service requests.
|
class |
ApplicationStartedEvent
Event published once the application context has been refreshed but before any
application and command line
runners have been called. |
class |
ApplicationStartingEvent
Event published as early as conceivably possible as soon as a
SpringApplication
has been started - before the Environment or ApplicationContext is
available, but after the ApplicationListener s have been registered. |
Modifier and Type | Method and Description |
---|---|
void |
PropertiesMigrationListener.onApplicationEvent(SpringApplicationEvent event) |