Formatting

This commit is contained in:
Phillip Webb 2015-06-10 11:26:39 -07:00
parent 6e79677df8
commit ad7ed1dbae
2 changed files with 7 additions and 4 deletions

View File

@ -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";

View File

@ -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