Formatting
This commit is contained in:
parent
6e79677df8
commit
ad7ed1dbae
|
@ -43,8 +43,8 @@ import org.springframework.jmx.export.MBeanExporter;
|
||||||
public class SpringApplicationAdminJmxAutoConfiguration {
|
public class SpringApplicationAdminJmxAutoConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The property to use to customize the {@code ObjectName} of the application
|
* The property to use to customize the {@code ObjectName} of the application admin
|
||||||
* admin mbean.
|
* mbean.
|
||||||
*/
|
*/
|
||||||
private static final String JMX_NAME_PROPERTY = "spring.application.admin.jmx-name";
|
private static final String JMX_NAME_PROPERTY = "spring.application.admin.jmx-name";
|
||||||
|
|
||||||
|
|
|
@ -218,18 +218,21 @@ be used.
|
||||||
In addition, beans may implement the `org.springframework.boot.ExitCodeGenerator`
|
In addition, beans may implement the `org.springframework.boot.ExitCodeGenerator`
|
||||||
interface if they wish to return a specific exit code when the application ends.
|
interface if they wish to return a specific exit code when the application ends.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[boot-features-application-admin]]
|
[[boot-features-application-admin]]
|
||||||
=== Admin features
|
=== Admin features
|
||||||
It is possible to enable admin-related features for the application by specifying the
|
It is possible to enable admin-related features for the application by specifying the
|
||||||
`spring.application.admin.enabled` property. For now, this exposes the
|
`spring.application.admin.enabled` property. This exposes the
|
||||||
{sc-spring-boot}/admin/SpringApplicationAdminMXBean.{sc-ext}[`SpringApplicationAdminMXBean`]`
|
{sc-spring-boot}/admin/SpringApplicationAdminMXBean.{sc-ext}[`SpringApplicationAdminMXBean`]`
|
||||||
on the platform `MBeanServer`. You could use this feature to administer your Spring Boot
|
on the platform `MBeanServer`. You could use this feature to administer your Spring Boot
|
||||||
application remotely. This could also be useful for any service wrapper implementation.
|
application remotely. This could also be useful for any service wrapper implementation.
|
||||||
|
|
||||||
NOTE: Be careful when enabling this feature as the MBean exposes a method to shutdown the
|
NOTE: Take care when enabling this feature as the MBean exposes a method to shutdown the
|
||||||
application.
|
application.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[boot-features-external-config]]
|
[[boot-features-external-config]]
|
||||||
== Externalized Configuration
|
== Externalized Configuration
|
||||||
Spring Boot allows you to externalize your configuration so you can work with the same
|
Spring Boot allows you to externalize your configuration so you can work with the same
|
||||||
|
|
Loading…
Reference in New Issue