Introduce @EnableSpringConfigured

Equivalent to <context:spring-configured/>.

Also update @EnableLoadTimeWeaving Javadoc and spring-configured XSD
documentation to reflect.

Issue: SPR-7888
This commit is contained in:
Chris Beams
2011-11-28 06:57:17 +00:00
parent 4318ccd9d5
commit d35620511e
6 changed files with 146 additions and 2 deletions

View File

@@ -117,8 +117,8 @@ import org.springframework.instrument.classloading.LoadTimeWeaver;
* <p>The two examples are equivalent with one significant exception: in the XML case,
* the functionality of {@code <context:spring-configured>} is implicitly enabled when
* {@code aspectj-weaving} is "on". This does not occur when using
* {@code @EnableLoadTimeWeaving(aspectjWeaving=ENABLED)}, although this may change in
* future revisions.
* {@code @EnableLoadTimeWeaving(aspectjWeaving=ENABLED)}. Instead you must explicitly add
* {@code @EnableSpringConfigured} (included in the {@code spring-aspects} module)
*
* @author Chris Beams
* @since 3.1