@@ -530,10 +530,10 @@ under the `org.springframework.boot` domain.
530530[[production-ready-custom-mbean-names]]
531531=== Customizing MBean names
532532The name of the MBean is usually generated from the `id` of the endpoint. For example
533- the `health` endpoint is exposed as `org.springframework.boot/Endpoint/HealthEndpoint `.
533+ the `health` endpoint is exposed as `org.springframework.boot/Endpoint/healthEndpoint `.
534534
535535If your application contains more than one Spring `ApplicationContext` you may find that
536- names clash. To solve this problem you can set the `endpoints.jmx.uniqueNames ` property
536+ names clash. To solve this problem you can set the `endpoints.jmx.unique-names ` property
537537to `true` so that MBean names are always unique.
538538
539539You can also customize the JMX domain under which endpoints are exposed. Here is an
@@ -542,7 +542,7 @@ example `application.properties`:
542542[source,properties,indent=0]
543543----
544544 endpoints.jmx.domain=myapp
545- endpoints.jmx.uniqueNames =true
545+ endpoints.jmx.unique-names =true
546546----
547547
548548
@@ -605,8 +605,8 @@ If you are using Jolokia but you don't want Spring Boot to configure it, simply
605605[[production-ready-remote-shell]]
606606== Monitoring and management using a remote shell
607607Spring Boot supports an integrated Java shell called '`CRaSH`'. You can use CRaSH to
608- `ssh` or `telnet` into your running application. To enable remote shell support add a
609- dependency to `spring-boot-starter-remote-shell` :
608+ `ssh` or `telnet` into your running application. To enable remote shell support, add
609+ the following dependency to your project :
610610
611611[source,xml,indent=0]
612612----
@@ -683,15 +683,16 @@ for details). By default Spring Boot will search for commands in the following l
683683
684684TIP: You can change the search path by settings a `shell.command-path-patterns` property.
685685
686- Here is a simple '`hello world `' command that could be loaded from
686+ Here is a simple '`hello`' command that could be loaded from
687687`src/main/resources/commands/hello.groovy`
688688
689689[source,groovy,indent=0]
690690----
691691 package commands
692692
693- import org.crsh.cli.Usage
694693 import org.crsh.cli.Command
694+ import org.crsh.cli.Usage
695+ import org.crsh.command.InvocationContext
695696
696697 class hello {
697698
0 commit comments