Class AnnotationConfigContextLoader

All Implemented Interfaces:
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.

Since:
3.1
Author:
Sam Brannen
See Also: