@FunctionalInterface public interface ConnectorIdGenerator extends Serializable
VaadinService.initConnectorIdGenerator(java.util.List)
or by calling
ServiceInitEvent.addConnectorIdGenerator(ConnectorIdGenerator)
from a
VaadinServiceInitListener
.Modifier and Type | Method and Description |
---|---|
String |
generateConnectorId(ConnectorIdGenerationEvent event)
Generates a connector id for a connector.
|
static String |
generateDefaultConnectorId(ConnectorIdGenerationEvent event)
Generates a connector id using the default logic by using
VaadinSession.getNextConnectorId() . |
String generateConnectorId(ConnectorIdGenerationEvent event)
event
- the event object that has a reference to the connector and the
session, not null
null
static String generateDefaultConnectorId(ConnectorIdGenerationEvent event)
VaadinSession.getNextConnectorId()
.event
- the event object that has a reference to the connector and the
session, not null
null
Copyright © 2018 Vaadin Ltd. All rights reserved.