クラス AnnotationConfigWebContextLoader

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

public class AnnotationConfigWebContextLoader extends AbstractGenericWebContextLoader
アノテーション付きクラスから Bean 定義をロードする AbstractGenericWebContextLoader の具体的な実装。

アノテーション付きクラスの定義については、@ContextConfiguration の Javadoc を参照してください。

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

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