Skip to content

Commit 4bc7919

Browse files
izeyesnicoll
authored andcommitted
Polish doc
Closes gh-3344
1 parent a990cc1 commit 4bc7919

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@ under the `org.springframework.boot` domain.
530530
[[production-ready-custom-mbean-names]]
531531
=== Customizing MBean names
532532
The 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

535535
If 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
537537
to `true` so that MBean names are always unique.
538538

539539
You 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
607607
Spring 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

684684
TIP: 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

spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ on the classpath change. This can be a useful feature when working in an IDE as
802802
a very fast feedback loop for code changes. By default, any entry on the classpath that
803803
points to a folder will be monitored for changes.
804804

805-
TIP: Automatic restart work very well when used with LiveReload.
805+
TIP: Automatic restart works very well when used with LiveReload.
806806
<<using-boot-devtools-livereload,See below>> for details.
807807

808808
.Restart vs Reload
@@ -828,7 +828,7 @@ commercially supported.
828828
==== Excluding resources
829829
Certain resources don't necessarily need to trigger a restart when they are changed. For
830830
example, Thymeleaf templates can just be edited in-place. By default changing resources
831-
in `/META-INF/maven`, ``/META-INF/resources` ,`/resources` ,`/static` ,`/public` or
831+
in `/META-INF/maven`, `/META-INF/resources` ,`/resources` ,`/static` ,`/public` or
832832
`/templates` will not trigger a restart. If you want to customize these exclusions you
833833
can use the `spring.devtools.restart.exclude` property. For example, to exclude only
834834
`/static` and `/public` you would set the following:

0 commit comments

Comments
 (0)