インターフェースの使用
org.springframework.boot.web.context.WebServerApplicationContext
WebServerApplicationContext を使用するパッケージ
パッケージ
説明
Spring の
ApplicationContext と Web の統合。Spring の
ApplicationContext とのリアクティブベースの Web 統合。Spring の
WebApplicationContext とのサーブレットベースの Web 統合。org.springframework.boot.web.context 内の WebServerApplicationContext 使用
修飾子と型メソッド説明abstract WebServerApplicationContextWebServerInitializedEvent.getApplicationContext()サーバーが作成されたアプリケーションコンテキストにアクセスします。型の型引数を持つ org.springframework.boot.web.context のコンストラクターパラメーター WebServerApplicationContext修飾子コンストラクター説明MissingWebServerFactoryBeanException(ClassSE<? extends WebServerApplicationContext> webServerApplicationContextClass, ClassSE<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) 新しいMissingWebServerFactoryBeanExceptionを作成します。org.springframework.boot.web.reactive.context 内の WebServerApplicationContext 使用
修飾子と型クラス説明classアノテーション付きクラスを入力として受け入れるReactiveWebServerApplicationContext- 特に@Configurationアノテーション付きクラスだけでなく、プレーンな@Componentクラスとjavax.injectアノテーションを使用する JSR-330 準拠クラスも受け入れます。class含まれているReactiveWebServerFactoryBean からブートストラップするために使用できるGenericReactiveWebApplicationContext。org.springframework.boot.web.servlet.context 内の WebServerApplicationContext 使用
修飾子と型クラス説明classアノテーション付きクラスを入力として受け入れるServletWebServerApplicationContext- 特に@Configurationアノテーション付きクラスだけでなく、プレーンな@Componentクラスとjavax.injectアノテーションを使用する JSR-330 準拠クラスも受け入れます。class含まれているServletWebServerFactoryBean からブートストラップするために使用できるWebApplicationContext。classXmlBeanDefinitionReaderによって理解される XML ドキュメントから構成を取得するServletWebServerApplicationContext