@ -69,8 +69,12 @@ public class HealthEndpoint extends AbstractEndpoint<Health> {
@@ -69,8 +69,12 @@ public class HealthEndpoint extends AbstractEndpoint<Health> {
@ -171,20 +171,13 @@ public class HealthMvcEndpoint extends AbstractEndpointMvcAdapter<HealthEndpoint
@@ -171,20 +171,13 @@ public class HealthMvcEndpoint extends AbstractEndpointMvcAdapter<HealthEndpoint
@ -234,6 +227,14 @@ public class HealthMvcEndpoint extends AbstractEndpointMvcAdapter<HealthEndpoint
@@ -234,6 +227,14 @@ public class HealthMvcEndpoint extends AbstractEndpointMvcAdapter<HealthEndpoint
@ -92,7 +92,7 @@ public class ResourceProperties implements ResourceLoaderAware {
@@ -92,7 +92,7 @@ public class ResourceProperties implements ResourceLoaderAware {
@ -208,21 +207,27 @@ final class ClassLoaderFilesResourcePatternResolver implements ResourcePatternRe
@@ -208,21 +207,27 @@ final class ClassLoaderFilesResourcePatternResolver implements ResourcePatternRe
@ -238,25 +243,21 @@ final class ClassLoaderFilesResourcePatternResolver implements ResourcePatternRe
@@ -238,25 +243,21 @@ final class ClassLoaderFilesResourcePatternResolver implements ResourcePatternRe
@ -137,6 +137,7 @@ key defined via `@PropertySource` will be loaded too late to have any effect on
@@ -137,6 +137,7 @@ key defined via `@PropertySource` will be loaded too late to have any effect on
auto-configuration.
[[howto-build-an-application-context-hierarchy]]
=== Build an ApplicationContext hierarchy (adding a parent or root context)
You can use the `ApplicationBuilder` class to create parent/child `ApplicationContext`
@ -284,10 +284,12 @@ returned, and for an authenticated connection additional details are also displa
@@ -284,10 +284,12 @@ returned, and for an authenticated connection additional details are also displa
Health information is collected from all
{sc-spring-boot-actuator}/health/HealthIndicator.{sc-ext}[`HealthIndicator`] beans defined
in your `ApplicationContext`. Spring Boot includes a number of auto-configured
`HealthIndicators` and you can also write your own. By default, the final system state is derived
by the `HealthAggregator` which sorts the statuses from each `HealthIndicator` based on an ordered list of statuses.
The first status in the sorted list is used as the overall health status.
If no `HealthIndicator` returns a status that is known to the `HealthAggregator`, an `UNKNOWN` status is used.
`HealthIndicators` and you can also write your own. By default, the final system state is
derived by the `HealthAggregator` which sorts the statuses from each `HealthIndicator`
based on an ordered list of statuses. The first status in the sorted list is used as the
overall health status. If no `HealthIndicator` returns a status that is known to the
@ -2475,8 +2475,8 @@ and `AuthenticationManagerConfiguration` for authentication configuration which
@@ -2475,8 +2475,8 @@ and `AuthenticationManagerConfiguration` for authentication configuration which
relevant in non-web applications). To switch off the default web application security
configuration completely you can add a bean with `@EnableWebSecurity` (this does not
disable the authentication manager configuration or Actuator's security).
To customize it you normally use external properties and beans of type `WebSecurityConfigurerAdapter`
(e.g. to add form-based login).
To customize it you normally use external properties and beans of type
`WebSecurityConfigurerAdapter` (e.g. to add form-based login).
NOTE: If you add `@EnableWebSecurity` and also disable Actuator security, you will get
the default form-based login for the entire application unless you add a custom
@ -6261,7 +6261,7 @@ where one will be auto-configured for you.
@@ -6261,7 +6261,7 @@ where one will be auto-configured for you.
Alternatively, if you are using the `@SpringBootTest` annotation with
@ -6334,32 +6334,32 @@ specify a host and port will automatically connect to the embedded server:
@@ -6334,32 +6334,32 @@ specify a host and port will automatically connect to the embedded server:
@ -187,11 +187,11 @@ final class JarURLConnection extends java.net.JarURLConnection {
@@ -187,11 +187,11 @@ final class JarURLConnection extends java.net.JarURLConnection {
@ -151,8 +151,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
@@ -151,8 +151,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
@ -142,8 +142,8 @@ public class ConfigFileApplicationListener implements EnvironmentPostProcessor,
@@ -142,8 +142,8 @@ public class ConfigFileApplicationListener implements EnvironmentPostProcessor,
@ -307,8 +307,7 @@ public class LoggingApplicationListener implements GenericApplicationListener {
@@ -307,8 +307,7 @@ public class LoggingApplicationListener implements GenericApplicationListener {
@ -452,8 +452,8 @@ public class ConfigurationPropertiesBindingPostProcessor implements BeanPostProc
@@ -452,8 +452,8 @@ public class ConfigurationPropertiesBindingPostProcessor implements BeanPostProc
@ -321,7 +321,6 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
@@ -321,7 +321,6 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac