You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.collaborationengine.

Class SystemConnectionContext

java.lang.Object
com.vaadin.collaborationengine.SystemConnectionContext

All Implemented Interfaces:

ConnectionContext

public class SystemConnectionContext extends Object implements ConnectionContext

A connection context that is always active. This context is intended to be used in cases when Collaboration Engine is used in situations that aren't directly associated with a UI, such as from a background thread or when integrating with external services.

An instance can be acquired using getInstance() in any situation where CollaborationEngine.getInstance() is available. Other situations can use CollaborationEngine.getSystemContext() or create a new context instance using the constructor.

Author:

Vaadin Ltd

  • Constructor Details

    • SystemConnectionContext

      public SystemConnectionContext(CollaborationEngine ce)

      Creates a new system connection context instance for the given Collaboration Engine instance. It is typically recommended reusing an existing instance through getInstance() or CollaborationEngine.getSystemContext() rather than creating new instances.

      Parameters:

      ce - the collaboration engine instance to use, not null

  • Method Details