クラス OptionalLiveReloadServer

java.lang.ObjectSE
org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer
実装されたすべてのインターフェース:
InitializingBean

public class OptionalLiveReloadServer extends ObjectSE implements InitializingBean
オプションの LiveReloadServer を管理します。LiveReloadServer は(ポートの競合などにより)正常に起動しないか、完全に省略される場合があります。
導入:
1.3.0
作成者:
Phillip Webb
  • コンストラクターの詳細

    • OptionalLiveReloadServer

      public OptionalLiveReloadServer(LiveReloadServer server)
      新しい OptionalLiveReloadServer インスタンスを作成します。
      パラメーター:
      server - 管理するサーバーまたは null
  • メソッドの詳細

    • afterPropertiesSet

      public void afterPropertiesSet() throws ExceptionSE
      次で指定:
      インターフェース InitializingBeanafterPropertiesSet 
      例外:
      ExceptionSE
    • triggerReload

      public void triggerReload()
      サーバーが稼働している場合は、LiveReload をトリガーします。