クラスの使用
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext
org.springframework.boot.web.servlet.context 内の ServletWebServerApplicationContext 使用
修飾子と型クラス説明class
アノテーション付きクラスを入力として受け入れるServletWebServerApplicationContext
- 特に@Configuration
アノテーション付きクラスだけでなく、プレーンな@Component
クラスとjavax.inject
アノテーションを使用する JSR-330 準拠クラスも受け入れます。class
XmlBeanDefinitionReader
によって理解される XML ドキュメントから構成を取得するServletWebServerApplicationContext
修飾子と型メソッド説明ServletWebServerInitializedEvent.getApplicationContext()
サーバーが作成されたアプリケーションコンテキストにアクセスします。修飾子コンストラクター説明ServletWebServerInitializedEvent
(WebServer webServer, ServletWebServerApplicationContext applicationContext)