com.vaadin.collaborationengine.
Interface AbstractCollaborationManager.ActivationHandler
-
All Superinterfaces:
Enclosing class:
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.
-
-
Method Summary
All Methods Modifier and Type Method Description Registration
onActivation()
The method executed when the manager is activated.
-
-
-
Method Detail
-
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
-
-