Class DevLoopInitListener

java.lang.Object
com.vaadin.base.devserver.devloop.DevLoopInitListener
All Implemented Interfaces:
com.vaadin.flow.server.VaadinServiceInitListener, Serializable, EventListener

public class DevLoopInitListener extends Object implements com.vaadin.flow.server.VaadinServiceInitListener
Opens the dev loop's end of the connection to the daemon, when there is a daemon to connect to.

Everything else the dev loop needs in the application - the hotswapper, the atomic redefine, the resource push - is reached from the registration connection, so this is the whole of its startup path. An application the daemon did not launch is left entirely alone.

For internal use only. May be renamed or removed in a future release.

See Also:
  • Constructor Details

    • DevLoopInitListener

      public DevLoopInitListener()
  • Method Details

    • serviceInit

      public void serviceInit(com.vaadin.flow.server.ServiceInitEvent event)
      Specified by:
      serviceInit in interface com.vaadin.flow.server.VaadinServiceInitListener