summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/Extension.java
blob: ef5bb4cf8dd39d10715d315b5fd001e6bfc93b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
@VaadinApache2LicenseForJavaFiles@
 */

package com.vaadin.terminal;

import com.vaadin.terminal.gwt.server.ClientConnector;

/**
 * An extension is an entity that is attached to a Component or another
 * Extension and independently communicates between client and server.
 * <p>
 * An extension can only be attached once. It is not supported to move an
 * extension from one target to another.
 * <p>
 * Extensions can use shared state and RPC in the same way as components.
 * 
 * @author Vaadin Ltd
 * @version @VERSION@
 * @since 7.0.0
 */
public interface Extension extends ClientConnector {
    /*
     * Currently just an empty marker interface to distinguish between
     * extensions and other connectors, e.g. components
     */
}