diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2013-03-26 19:02:51 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-03-27 16:15:22 +0000 |
commit | 5e77672975c6d272072baeec77005c847535fd97 (patch) | |
tree | 968eef92f8ea6e4ee4d09b48f47fceebf37908ac /server/src/com/vaadin/ui | |
parent | 3c351deadfd4980ee43a1c86870a4c50ed78b310 (diff) | |
download | vaadin-framework-5e77672975c6d272072baeec77005c847535fd97.tar.gz vaadin-framework-5e77672975c6d272072baeec77005c847535fd97.zip |
Removed CommunicationManager and PortletCommunicationManager
* Moved AbstractCommunicationManager abstract methods
getThemeResourceAsStream and createBootstrapHandler to VaadinService
* Made ACM non-abstract and renamed to LegacyCommunicationManager
* Lifted anonymous inner BootstrapHandler subclasses into named public classes
Change-Id: I31739ce8a506d572e75ca8cd5509be215e01693d
Diffstat (limited to 'server/src/com/vaadin/ui')
-rw-r--r-- | server/src/com/vaadin/ui/ConnectorTracker.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/ConnectorTracker.java b/server/src/com/vaadin/ui/ConnectorTracker.java index 7d741e1b28..bd66f3b368 100644 --- a/server/src/com/vaadin/ui/ConnectorTracker.java +++ b/server/src/com/vaadin/ui/ConnectorTracker.java @@ -32,7 +32,7 @@ import org.json.JSONException; import org.json.JSONObject; import com.vaadin.server.AbstractClientConnector; -import com.vaadin.server.AbstractCommunicationManager; +import com.vaadin.server.LegacyCommunicationManager; import com.vaadin.server.ClientConnector; import com.vaadin.server.GlobalResourceHandler; import com.vaadin.server.StreamVariable; @@ -296,7 +296,7 @@ public class ConnectorTracker implements Serializable { uninitializedConnectors.remove(connector); diffStates.remove(connector); iterator.remove(); - } else if (!AbstractCommunicationManager + } else if (!LegacyCommunicationManager .isConnectorVisibleToClient(connector) && !uninitializedConnectors.contains(connector)) { uninitializedConnectors.add(connector); @@ -473,7 +473,7 @@ public class ConnectorTracker implements Serializable { public ArrayList<ClientConnector> getDirtyVisibleConnectors() { ArrayList<ClientConnector> dirtyConnectors = new ArrayList<ClientConnector>(); for (ClientConnector c : getDirtyConnectors()) { - if (AbstractCommunicationManager.isConnectorVisibleToClient(c)) { + if (LegacyCommunicationManager.isConnectorVisibleToClient(c)) { dirtyConnectors.add(c); } } |