+ clarify order of annotation and XML injection
This commit is contained in:
Costin Leau
2010-02-09 11:17:07 +00:00
parent c5c38c6664
commit a9386f5c79
3 changed files with 15 additions and 2 deletions

View File

@@ -124,6 +124,9 @@ import org.springframework.util.StringUtils;
* by the "context:annotation-config" and "context:component-scan" XML tags.
* Remove or turn off the default annotation configuration there if you intend
* to specify a custom CommonAnnotationBeanPostProcessor bean definition!
* <p><b>NOTE:</b> Annotation injection will be performed <i>before</i> XML injection; thus
* the latter configuration will override the former for properties wired through
* both approaches.
*
* @author Juergen Hoeller
* @since 2.5