インターフェースの使用
org.springframework.boot.web.context.WebServerApplicationContext
WebServerApplicationContext を使用するパッケージ
パッケージ
説明
Spring の
ApplicationContext
と Web の統合。Spring の
ApplicationContext
とのリアクティブベースの Web 統合。Spring の
WebApplicationContext
とのサーブレットベースの Web 統合。org.springframework.boot.web.context 内の WebServerApplicationContext 使用
修飾子と型メソッド説明abstract WebServerApplicationContext
WebServerInitializedEvent.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
含まれているReactiveWebServerFactory
Bean からブートストラップするために使用できるGenericReactiveWebApplicationContext
。org.springframework.boot.web.servlet.context 内の WebServerApplicationContext 使用
修飾子と型クラス説明class
アノテーション付きクラスを入力として受け入れるServletWebServerApplicationContext
- 特に@Configuration
アノテーション付きクラスだけでなく、プレーンな@Component
クラスとjavax.inject
アノテーションを使用する JSR-330 準拠クラスも受け入れます。class
含まれているServletWebServerFactory
Bean からブートストラップするために使用できるWebApplicationContext
。class
XmlBeanDefinitionReader
によって理解される XML ドキュメントから構成を取得するServletWebServerApplicationContext