クラス AnnotationConfigContextLoader

実装されたすべてのインターフェース:
AotContextLoaderContextLoaderSmartContextLoader

public class AnnotationConfigContextLoader extends AbstractGenericContextLoader
コンポーネントクラスから Bean 定義をロードする AbstractGenericContextLoader の具象実装。

コンポーネントクラスの定義については、@ContextConfiguration の Javadoc を参照してください。

メモ: AnnotationConfigContextLoader は、レガシー ContextLoader API によって定義された文字列ベースのリソースの場所ではなく、コンポーネントクラスをサポートします。AnnotationConfigContextLoader は AbstractGenericContextLoader を継承しますが、AnnotationConfigContextLoader は AbstractContextLoader または AbstractGenericContextLoader によって定義された文字列ベースのメソッドをサポートしませAnnotationConfigContextLoader は主に ContextLoader ではなく SmartContextLoader と見なす必要があります。

導入:
3.1
作成者:
Sam Brannen
関連事項: