public class VaadinServiceInitListenerImpl extends Object implements com.vaadin.flow.server.VaadinServiceInitListener
VaadinServiceInitListener interface. This class adds a session init
listener to the Vaadin service, sets an error handler and registers an error view.| Constructor and Description |
|---|
VaadinServiceInitListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
serviceInit(com.vaadin.flow.server.ServiceInitEvent event)
Implements the
serviceInit method from VaadinServiceInitListener interface. |
public void serviceInit(com.vaadin.flow.server.ServiceInitEvent event)
serviceInit method from VaadinServiceInitListener interface.
This method sets ErrorManager as the error handler and registers ErrorView as
the default error view.serviceInit in interface com.vaadin.flow.server.VaadinServiceInitListenerevent - The ServiceInitEvent to be handledCopyright © 2017–2023 Flowing Code. All rights reserved.