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