public class CollaborationEngineConfiguration extends Object
CollaborationEngine. When running in
production mode, it is required to set this configuration for the
Collaboration Engine associated with the current VaadinService. This
should be done by calling
CollaborationEngine.configure(VaadinService, CollaborationEngineConfiguration)
in a VaadinServiceInitListener.| Constructor and Description |
|---|
CollaborationEngineConfiguration(LicenseEventHandler licenseEventHandler)
Creates a new Collaboration Engine configuration with the provided
handler for license events.
|
| Modifier and Type | Method and Description |
|---|---|
LicenseEventHandler |
getLicenseEventHandler()
Gets the license event handler of this configuration.
|
public CollaborationEngineConfiguration(LicenseEventHandler licenseEventHandler)
The handler will be invoked when license events occur, e.g. when the license is expired or when the end-user quota has entered the grace period. The handler can then be used for example to forward these events via e-mail or to a monitoring application to be alerted about the current status of the license.
See LicenseEvent.LicenseEventType for a list of license event types.
licenseEventHandler - the license event handler, not nullpublic LicenseEventHandler getLicenseEventHandler()
Copyright © 2021. All rights reserved.