Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
ad7ed1db
Commit
ad7ed1db
authored
Jun 10, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting
parent
6e79677d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
SpringApplicationAdminJmxAutoConfiguration.java
...ure/admin/SpringApplicationAdminJmxAutoConfiguration.java
+2
-2
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+5
-2
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/admin/SpringApplicationAdminJmxAutoConfiguration.java
View file @
ad7ed1db
...
...
@@ -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"
;
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
ad7ed1db
...
...
@@ -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, t
his exposes the
`spring.application.admin.enabled` property.
T
his 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment