类 AnnotationConfigContextLoader

所有已实现的接口:
AotContextLoader, ContextLoader, SmartContextLoader

public class AnnotationConfigContextLoader extends AbstractGenericContextLoader
Concrete implementation of AbstractGenericContextLoader that loads bean definitions from component classes.

See the Javadoc for @ContextConfiguration for a definition of component class.

Note: AnnotationConfigContextLoader supports component classes rather than the String-based resource locations defined by the legacy 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 SmartContextLoader rather than a ContextLoader.

从以下版本开始:
4.0
作者:
Sam Brannen, Harry Yang
另请参阅: