Interface AbstractCollaborationManager.ActivationHandler

  • All Superinterfaces:
    java.io.Serializable
    Enclosing class:
    AbstractCollaborationManager
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface AbstractCollaborationManager.ActivationHandler
    extends java.io.Serializable
    The callback executed when the manager is activated, i.e. when the connection to the topic is established.
    See Also:
    AbstractCollaborationManager.setActivationHandler(ActivationHandler)
    • Method Detail

      • onActivation

        com.vaadin.flow.shared.Registration onActivation()
        The method executed when the manager is activated. The method might return a callback which will be invoked when the manager is deactivated, i.e. the connection to the topic is closed. This callback can be used to clean-up resources used during activation.
        Returns:
        a callback which will be executed when the manager is deactivated, or null if not needed