Note: AnnotationConfigContextLoader supports {@link org.springframework.context.annotation.Configuration configuration classes}rather than the String-based resource locations defined by the legacy {@link org.springframework.test.context.ContextLoader ContextLoader} API. Thus,although AnnotationConfigContextLoader extends AbstractGenericContextLoader, AnnotationConfigContextLoader does not support any String-based methods defined by AbstractContextLoader or AbstractGenericContextLoader. Consequently, AnnotationConfigContextLoader should chiefly be considered a {@link org.springframework.test.context.SmartContextLoader SmartContextLoader}rather than a {@link org.springframework.test.context.ContextLoader ContextLoader}.
@author Sam Brannen
@since 3.1
@see #processContextConfiguration()
@see #detectDefaultConfigurationClasses()
@see #loadBeanDefinitions()
| |
| |