com.vaadin.collaborationengine.

Interface AbstractCollaborationManager.ActivationHandler

All Superinterfaces:

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 Serializable

The callback executed when the manager is activated, i.e. when the connection to the topic is established.

See Also:

  • Method Summary

    Modifier and Type
    Method
    Description

    The method executed when the manager is activated.

  • Method Details

    • onActivation

      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