クラス ContextLoaderListener

java.lang.ObjectSE
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
実装されたすべてのインターフェース:
ServletContextListenerEEEventListenerSE

public class ContextLoaderListener extends ContextLoader implements ServletContextListenerEE
Spring のルート WebApplicationContext を起動およびシャットダウンするためのブートストラップリスナー。ContextLoader および ContextCleanupListener に単純に委譲します。

ContextLoaderListener は、ContextLoaderListener(WebApplicationContext) コンストラクターを介したルート Web アプリケーションコンテキストの注入をサポートし、サーブレット初期化子でのプログラムによる構成を可能にします。使用例については、WebApplicationInitializer を参照してください。

導入:
17.02.2003
作成者:
Juergen Hoeller, Chris Beams
関連事項: