注释类型 EnableSpringConfigured
@Target(TYPE) @Retention(RUNTIME) @Documented @Import(SpringConfiguredConfiguration.class) public @interface EnableSpringConfigured
Signals the current application context to apply dependency injection to non-managed classes that are instantiated outside of the Spring bean factory (typically classes annotated with the@Configurable
annotation).Similar to functionality found in Spring's
<context:spring-configured>
XML element. Often used in conjunction with@EnableLoadTimeWeaving
.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams
- 另请参阅:
EnableLoadTimeWeaving