Class HotswapEventBus

java.lang.Object
com.vaadin.flow.component.ComponentEventBus
com.vaadin.copilot.HotswapEventBus
All Implemented Interfaces:
Serializable

public class HotswapEventBus extends com.vaadin.flow.component.ComponentEventBus
See Also:
  • Constructor Details

    • HotswapEventBus

      public HotswapEventBus()
      Creates an event bus.
  • Method Details

    • getInstance

      public static HotswapEventBus getInstance()
    • addListener

      public com.vaadin.flow.shared.Registration addListener(com.vaadin.flow.component.ComponentEventListener<HotswapEventBus.CopilotHotswapEvent> listener)
      Adds a listener to the event bus.
      Parameters:
      listener - the listener to add
      Returns:
      a registration that can be used to remove the listener