Package org.vaadin.addons.asyntai
Class AsyntaiServiceInitListener
java.lang.Object
org.vaadin.addons.asyntai.AsyntaiServiceInitListener
- All Implemented Interfaces:
com.vaadin.flow.server.VaadinServiceInitListener,Serializable,EventListener
public class AsyntaiServiceInitListener
extends Object
implements com.vaadin.flow.server.VaadinServiceInitListener
Adds the widget to the first page of the app when a widget ID is configured.
Vaadin finds this class through META-INF/services, so the app needs no code.
Without a widget ID this listener does nothing, and the app can use
AsyntaiChat instead.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserviceInit(com.vaadin.flow.server.ServiceInitEvent event)
-
Constructor Details
-
AsyntaiServiceInitListener
public AsyntaiServiceInitListener()Vaadin calls this constructor.
-
-
Method Details
-
serviceInit
public void serviceInit(com.vaadin.flow.server.ServiceInitEvent event) - Specified by:
serviceInitin interfacecom.vaadin.flow.server.VaadinServiceInitListener
-