summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/AbstractJavaScriptExtension.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/AbstractJavaScriptExtension.java')
-rw-r--r--src/com/vaadin/terminal/AbstractJavaScriptExtension.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/AbstractJavaScriptExtension.java b/src/com/vaadin/terminal/AbstractJavaScriptExtension.java
index 22c8dd4561..a2f8019858 100644
--- a/src/com/vaadin/terminal/AbstractJavaScriptExtension.java
+++ b/src/com/vaadin/terminal/AbstractJavaScriptExtension.java
@@ -11,6 +11,13 @@ public class AbstractJavaScriptExtension extends AbstractExtension {
private JavaScriptCallbackHelper callbackHelper = new JavaScriptCallbackHelper(
this);
+ @Override
+ protected <T> void registerRpc(T implementation,
+ java.lang.Class<T> rpcInterfaceType) {
+ super.registerRpc(implementation, rpcInterfaceType);
+ callbackHelper.registerRpc(rpcInterfaceType);
+ }
+
protected void registerCallback(String functionName,
JavaScriptCallback javaScriptCallback) {
callbackHelper.registerCallback(functionName, javaScriptCallback);