Polish
Closes gh-1097
This commit is contained in:
@@ -29,8 +29,8 @@ import org.springframework.core.Ordered;
|
||||
/**
|
||||
* Enables Spring's annotation-driven transaction management capability, similar to
|
||||
* the support found in Spring's {@code <tx:*>} XML namespace. To be used on
|
||||
* @{@link org.springframework.context.annotation.Configuration Configuration} classes
|
||||
* as follows:
|
||||
* {@link org.springframework.context.annotation.Configuration @Configuration}
|
||||
* classes as follows:
|
||||
*
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -32,7 +32,7 @@ import org.springframework.transaction.PlatformTransactionManager;
|
||||
* <p>Note that in by-type lookup disambiguation cases, an alternative approach to
|
||||
* implementing this interface is to simply mark one of the offending
|
||||
* {@code PlatformTransactionManager} {@code @Bean} methods as
|
||||
* @{@link org.springframework.context.annotation.Primary Primary}.
|
||||
* {@link org.springframework.context.annotation.Primary @Primary}.
|
||||
* This is even generally preferred since it doesn't lead to early initialization
|
||||
* of the {@code PlatformTransactionManager} bean.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user