public class ServletWebServerInitializedEvent extends WebServerInitializedEvent
ServletWebServerApplicationContext がリフレッシュされ、WebServer の準備ができた後に発行されるイベント。実行中のサーバーのローカルポートを取得できます。通常は開始されますが、リスナーは自由にサーバーをインスペクションし、必要に応じて停止および開始できます。
sourceSE| コンストラクターと説明 |
|---|
ServletWebServerInitializedEvent(WebServer webServer, ServletWebServerApplicationContext applicationContext) |
| 修飾子と型 | メソッドと説明 |
|---|---|
ServletWebServerApplicationContext | getApplicationContext() サーバーが作成されたアプリケーションコンテキストにアクセスします。 |
getSource, getWebServertoStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic ServletWebServerInitializedEvent(WebServer webServer, ServletWebServerApplicationContext applicationContext)
public ServletWebServerApplicationContext getApplicationContext()
WebServerInitializedEvent の getApplicationContext Copyright © 2019 Pivotal Software, Inc.. All rights reserved.