summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-06-14 22:57:28 +0300
committerLeif Åstrand <leif@vaadin.com>2012-06-14 22:57:28 +0300
commit51ce4a2535146a3b8861bd02f655c18d9a397522 (patch)
tree2c4421863c5255b1595111c6e968b0a84f1c9f4b /src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java
parent72c0f66e2aa588acbb517e6d9b482c7a75faf9f1 (diff)
downloadvaadin-framework-51ce4a2535146a3b8861bd02f655c18d9a397522.tar.gz
vaadin-framework-51ce4a2535146a3b8861bd02f655c18d9a397522.zip
Implement js rpc proxy objects and wildcard rpc support (#8888)
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java b/src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java
index fecf24d450..e7bfbc4bb2 100644
--- a/src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java
+++ b/src/com/vaadin/terminal/gwt/client/JavaScriptExtensionState.java
@@ -4,7 +4,9 @@
package com.vaadin.terminal.gwt.client;
+import java.util.HashMap;
import java.util.HashSet;
+import java.util.Map;
import java.util.Set;
import com.vaadin.terminal.gwt.client.JavaScriptConnectorHelper.JavaScriptConnectorState;
@@ -14,6 +16,7 @@ public class JavaScriptExtensionState extends SharedState implements
JavaScriptConnectorState {
private Set<String> callbackNames = new HashSet<String>();
+ private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>();
public Set<String> getCallbackNames() {
return callbackNames;
@@ -23,4 +26,11 @@ public class JavaScriptExtensionState extends SharedState implements
this.callbackNames = callbackNames;
}
+ public Map<String, Set<String>> getRpcInterfaces() {
+ return rpcInterfaces;
+ }
+
+ public void setRpcInterfaces(Map<String, Set<String>> rpcInterfaces) {
+ this.rpcInterfaces = rpcInterfaces;
+ }
}