|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.LegacyCommunicationManager
@Deprecated public class LegacyCommunicationManager
This is a common base class for the server-side implementations of the
communication system between the client code (compiled with GWT into
JavaScript) and the server side components. Its client side counterpart is
com.vaadin.client.ApplicationConnection.
TODO Document better!
| Nested Class Summary | |
|---|---|
class |
LegacyCommunicationManager.ClientCache
Deprecated. As of 7.1. See #11410. |
static class |
LegacyCommunicationManager.InvalidUIDLSecurityKeyException
Deprecated. As of 7.1. Will be removed in the future. |
| Constructor Summary | |
|---|---|
LegacyCommunicationManager(VaadinSession session)
Deprecated. TODO New constructor - document me! |
|
| Method Summary | |
|---|---|
static org.json.JSONObject |
encodeState(ClientConnector connector,
com.vaadin.shared.communication.SharedState state)
Deprecated. As of 7.1. See #11411. |
LegacyCommunicationManager.ClientCache |
getClientCache(UI uI)
Deprecated. As of 7.1. See #11410. |
ClientConnector |
getConnector(UI uI,
java.lang.String connectorId)
Deprecated. As of 7.1. In 7.2 and later, use uI.getConnectorTracker().getConnector(connectorId) instead.
See ticket #11411. |
java.util.Map<java.lang.String,java.lang.Class<?>> |
getDependencies()
Deprecated. As of 7.1. See #11413. |
protected VaadinSession |
getSession()
Deprecated. |
java.lang.String |
getStreamVariableTargetUrl(ClientConnector owner,
java.lang.String name,
StreamVariable value)
Deprecated. As of 7.1. See #11411. |
java.lang.String |
getTagForType(java.lang.Class<? extends ClientConnector> class1)
Deprecated. As of 7.1. Will be removed in the future. |
java.lang.String |
getTheme(UI uI)
Deprecated. As of 7.1. See #11412. |
void |
handleConnectorRelatedException(ClientConnector connector,
java.lang.Throwable throwable)
Deprecated. As of 7.1. See #11411. |
static boolean |
isComponentVisibleToClient(Component child)
Deprecated. As of 7.1. See #11411. |
static boolean |
isConnectorVisibleToClient(ClientConnector connector)
Deprecated. As of 7.1. See #11411. |
java.lang.String |
registerDependency(java.lang.String resourceUri,
java.lang.Class<?> context)
Deprecated. As of 7.1. See #11413. |
void |
repaintAll(UI ui)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyCommunicationManager(VaadinSession session)
session - | Method Detail |
|---|
protected VaadinSession getSession()
@Deprecated
public static org.json.JSONObject encodeState(ClientConnector connector,
com.vaadin.shared.communication.SharedState state)
throws org.json.JSONException
org.json.JSONException
@Deprecated
public java.lang.String registerDependency(java.lang.String resourceUri,
java.lang.Class<?> context)
LegacyCommunicationManager if needed and returns a fully
qualified URI.
@Deprecated public java.util.Map<java.lang.String,java.lang.Class<?>> getDependencies()
@Deprecated public LegacyCommunicationManager.ClientCache getClientCache(UI uI)
@Deprecated public static boolean isConnectorVisibleToClient(ClientConnector connector)
isComponentVisibleToClient(Component) is used. For other types
of connectors, the contextual visibility of its first Component ancestor
is used. If no Component ancestor is found, the connector is not visible.
connector - The connector to check
true if the connector is visible to the client,
false otherwise@Deprecated public static boolean isComponentVisibleToClient(Component child)
child - The child to check
@Deprecated public java.lang.String getTheme(UI uI)
@Deprecated
public ClientConnector getConnector(UI uI,
java.lang.String connectorId)
uI.getConnectorTracker().getConnector(connectorId) instead.
See ticket #11411.
@Deprecated public java.lang.String getTagForType(java.lang.Class<? extends ClientConnector> class1)
@Deprecated
public java.lang.String getStreamVariableTargetUrl(ClientConnector owner,
java.lang.String name,
StreamVariable value)
@Deprecated
public void handleConnectorRelatedException(ClientConnector connector,
java.lang.Throwable throwable)
ui - The UI where the exception occuredthrowable - The exceptionconnector - The Rpc target@Deprecated public void repaintAll(UI ui)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||