Spring Framework

org.springframework.context.annotation
Annotation Type EnableSpringConfigured


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Import(value=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 {@link org.springframework.context.annotation.EnableLoadTimeWeaving

Since:
3.1
Author:
Chris Beams
See Also:
EnableLoadTimeWeaving


Spring Framework