23.10 Admin features
It is possible to enable admin-related features for the application by specifying the spring.application.admin.enabled
property. This exposes the 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.
|
Tip |
If you want to know on which HTTP port the application is running, get the property with key local.server.port . |
|
Note |
Take care when enabling this feature as the MBean exposes a method to shutdown the application. |