提交 c91c93c8 编写于 作者: S Sam Brannen

Polish reference manual

上级 8bc2bffa
......@@ -30,7 +30,7 @@ For the currently recommended usage patterns for Hibernate see <<orm-hibernate>>
[[orm-hibernate-template]]
===== the HibernateTemplate
===== The HibernateTemplate
The basic programming model for templating looks as follows, for methods that can be
part of any custom data access object or business service. There are no restrictions on
......
此差异已折叠。
......@@ -96,7 +96,7 @@ then combine attributes from both annotations to create merged CORS configuratio
@RequestMapping("/account")
public class AccountController {
@CrossOrigin(origins = "http://domain2.com")
@CrossOrigin("http://domain2.com")
@RequestMapping("/{id}")
public Account retrieve(@PathVariable Long id) {
// ...
......
......@@ -627,7 +627,7 @@ to narrow the mapping.
[[mvc-ann-requestmapping-proxying]]
==== ++@Controller++'s and AOP Proxying
==== @Controller and AOP Proxying
In some cases a controller may need to be decorated with an AOP proxy at runtime.
One example is if you choose to have `@Transactional` annotations directly on the
......@@ -1910,7 +1910,8 @@ which case they apply to matching controllers. This provides an alternative to u
[[mvc-ann-controller-advice]]
==== Advising controllers with the `@ControllerAdvice` annotation
==== Advising controllers with @ControllerAdvice
The `@ControllerAdvice` annotation is a component annotation allowing implementation
classes to be auto-detected through classpath scanning. It is automatically enabled when
using the MVC namespace or the MVC Java config.
......@@ -2518,11 +2519,6 @@ directly on `RequestMappingHandlerAdapter`.
[[mvc-viewresolver]]
== Resolving views
All MVC frameworks for web applications provide a way to address views. Spring provides
......
......@@ -1554,7 +1554,7 @@ the TCP connection is established is different from the host providing the
cloud-based STOMP service.
[[websocket-stomp-destination-separator]]
=== Using Dot as Separator in `@MessageMapping` Destinations
=== Using Dot as Separator in @MessageMapping Destinations
Although slash-separated path patterns are familiar to web developers, in messaging
it is common to use a "." as the separator, for example in the names of topics, queues,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册