Polish
This commit is contained in:
parent
bebf26d91e
commit
3c6c1d08e0
|
@ -352,6 +352,7 @@ and the default excludes are
|
||||||
See the output of `spring help jar` for more information.
|
See the output of `spring help jar` for more information.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[cli-init]]
|
[[cli-init]]
|
||||||
=== Initialize a new project
|
=== Initialize a new project
|
||||||
The `init` command allows you to create a new project using https://start.spring.io
|
The `init` command allows you to create a new project using https://start.spring.io
|
||||||
|
@ -364,9 +365,9 @@ without leaving the shell. For example:
|
||||||
Project extracted to '/Users/developer/example/my-project'
|
Project extracted to '/Users/developer/example/my-project'
|
||||||
----
|
----
|
||||||
|
|
||||||
This creates a `my-project` directory with a Maven-based project using `spring-boot-starter-web`
|
This creates a `my-project` directory with a Maven-based project using
|
||||||
and `spring-boot-starter-data-jpa`. You can list the capabilities of the service
|
`spring-boot-starter-web` and `spring-boot-starter-data-jpa`. You can list the
|
||||||
using the `--list` flag
|
capabilities of the service using the `--list` flag
|
||||||
|
|
||||||
[indent=0]
|
[indent=0]
|
||||||
----
|
----
|
||||||
|
@ -403,6 +404,8 @@ instance, the following command creates a gradle project using Java 8 and `war`
|
||||||
Content saved to 'sample-app.zip'
|
Content saved to 'sample-app.zip'
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[cli-shell]]
|
[[cli-shell]]
|
||||||
=== Using the embedded shell
|
=== Using the embedded shell
|
||||||
Spring Boot includes command-line completion scripts for BASH and zsh shells. If you
|
Spring Boot includes command-line completion scripts for BASH and zsh shells. If you
|
||||||
|
@ -428,6 +431,8 @@ The embedded shell supports ANSI color output as well as `tab` completion. If yo
|
||||||
to run a native command you can use the `$` prefix. Hitting `ctrl-c` will exit the
|
to run a native command you can use the `$` prefix. Hitting `ctrl-c` will exit the
|
||||||
embedded shell.
|
embedded shell.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[cli-groovy-beans-dsl]]
|
[[cli-groovy-beans-dsl]]
|
||||||
== Developing application with the Groovy beans DSL
|
== Developing application with the Groovy beans DSL
|
||||||
Spring Framework 4.0 has native support for a `beans{}` "`DSL`" (borrowed from
|
Spring Framework 4.0 has native support for a `beans{}` "`DSL`" (borrowed from
|
||||||
|
|
|
@ -2025,18 +2025,24 @@ The following component creates a listener endpoint on the `someQueue` destinati
|
||||||
Check {spring-javadoc}/jms/annotation/EnableJms.{dc-ext}[the javadoc of `@EnableJms`]
|
Check {spring-javadoc}/jms/annotation/EnableJms.{dc-ext}[the javadoc of `@EnableJms`]
|
||||||
for more details.
|
for more details.
|
||||||
|
|
||||||
[[boot-features-mail]]
|
|
||||||
== Mail integration
|
|
||||||
The Spring Framework provides an easy abstraction for sending email using the `JavaMailSender`
|
|
||||||
interface and Spring Boot provides auto-configuration for it as well as a starter module.
|
|
||||||
|
|
||||||
TIP: Check the {spring-reference}/#mail[reference documentation] for a detailed explanation
|
|
||||||
of how you can use `JavaMailSender`.
|
[[boot-features-email]]
|
||||||
|
== Sending email
|
||||||
|
The Spring Framework provides an easy abstraction for sending email using the
|
||||||
|
`JavaMailSender` interface and Spring Boot provides auto-configuration for it as well as
|
||||||
|
a starter module.
|
||||||
|
|
||||||
|
TIP: Check the {spring-reference}/#mail[reference documentation] for a detailed
|
||||||
|
explanation of how you can use `JavaMailSender`.
|
||||||
|
|
||||||
If `spring.mail.host` and the relevant libraries (as defined by `spring-boot-starter-mail`)
|
If `spring.mail.host` and the relevant libraries (as defined by `spring-boot-starter-mail`)
|
||||||
are available, a default `JavaMailSender` is created if none exists. The sender can be
|
are available, a default `JavaMailSender` is created if none exists. The sender can be
|
||||||
further customized by configuration items from the `spring.mail` namespace, see the
|
further customized by configuration items from the `spring.mail` namespace, see the
|
||||||
{sc-spring-boot-autoconfigure}/mail/MailProperties.{sc-ext}[`MailProperties`] for more details.
|
{sc-spring-boot-autoconfigure}/mail/MailProperties.{sc-ext}[`MailProperties`] for more
|
||||||
|
details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[boot-features-jta]]
|
[[boot-features-jta]]
|
||||||
== Distributed Transactions with JTA
|
== Distributed Transactions with JTA
|
||||||
|
|
Loading…
Reference in New Issue