Formatting
This commit is contained in:
parent
6e79677df8
commit
ad7ed1dbae
|
@ -43,8 +43,8 @@ import org.springframework.jmx.export.MBeanExporter;
|
|||
public class SpringApplicationAdminJmxAutoConfiguration {
|
||||
|
||||
/**
|
||||
* The property to use to customize the {@code ObjectName} of the application
|
||||
* admin mbean.
|
||||
* The property to use to customize the {@code ObjectName} of the application admin
|
||||
* mbean.
|
||||
*/
|
||||
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`
|
||||
interface if they wish to return a specific exit code when the application ends.
|
||||
|
||||
|
||||
|
||||
[[boot-features-application-admin]]
|
||||
=== Admin features
|
||||
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`]`
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
|
||||
[[boot-features-external-config]]
|
||||
== Externalized Configuration
|
||||
Spring Boot allows you to externalize your configuration so you can work with the same
|
||||
|
|
Loading…
Reference in New Issue