public interface Connectable
Intended for use by any class in a Vaadin session that connects/disconnects to/from non-Vaadin "back-end" resources,
typically Containers. Some type of interface like this is required because for
Containers that connect to back-end resources because there is no equivalent of
Component.attach()/ClientConnector.detach() like there is for widgets.
Typically, connect() and disconnect() (respectively) would be invoked by those methods.
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect this instance to non-Vaadin resources.
|
void |
disconnect()
Disconnect this instance from non-Vaadin resources.
|
void connect()
IllegalStateException - if there is no VaadinSession associated with the current threadvoid disconnect()
IllegalStateException - if there is no VaadinSession associated with the current threadCopyright © 2017. All rights reserved.