Class RouteUnifyingServiceInitListener

java.lang.Object
com.vaadin.hilla.startup.RouteUnifyingServiceInitListener
All Implemented Interfaces:
com.vaadin.flow.server.VaadinServiceInitListener, Serializable, EventListener

@Component public class RouteUnifyingServiceInitListener extends Object implements com.vaadin.flow.server.VaadinServiceInitListener
Service init listener to add the RouteUnifyingIndexHtmlRequestListener to the service.
See Also:
  • Constructor Details

    • RouteUnifyingServiceInitListener

      @Autowired public RouteUnifyingServiceInitListener(RouteUtil routeUtil, RouteUnifyingConfigurationProperties routeUnifyingConfigurationProperties, @Nullable com.vaadin.flow.server.auth.NavigationAccessControl accessControl)
      Creates a new instance of the listener.
      Parameters:
      routeUnifyingConfigurationProperties - the configuration properties instance
  • Method Details

    • serviceInit

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