From 70200e43f567d11462fb7dd8614c1546e9c4c270 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 6 Nov 2012 13:31:05 +0200 Subject: Make getRpcProxy protected (#9312) Change-Id: Ia315978b72e5fa3d2f7268b9bb4b4095c2d93402 --- server/src/com/vaadin/server/AbstractClientConnector.java | 2 +- .../com/vaadin/tests/widgetset/server/SerializerTestExtension.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/server/src/com/vaadin/server/AbstractClientConnector.java b/server/src/com/vaadin/server/AbstractClientConnector.java index 1f0d3049b5..0e81224ccc 100644 --- a/server/src/com/vaadin/server/AbstractClientConnector.java +++ b/server/src/com/vaadin/server/AbstractClientConnector.java @@ -236,7 +236,7 @@ public abstract class AbstractClientConnector implements ClientConnector { * * @since 7.0 */ - public T getRpcProxy(final Class rpcInterface) { + protected T getRpcProxy(final Class rpcInterface) { // create, initialize and return a dynamic proxy for RPC try { if (!rpcProxyMap.containsKey(rpcInterface)) { diff --git a/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java b/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java index 978ed80ed5..79d097426b 100644 --- a/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java +++ b/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java @@ -17,11 +17,17 @@ package com.vaadin.tests.widgetset.server; import com.vaadin.server.AbstractExtension; +import com.vaadin.shared.communication.ClientRpc; import com.vaadin.tests.widgetset.client.ComplexTestBean; import com.vaadin.tests.widgetset.client.SerializerTestRpc; public class SerializerTestExtension extends AbstractExtension { + @Override + public T getRpcProxy(Class rpcInterface) { + return super.getRpcProxy(rpcInterface); + } + @Override public ComplexTestBean getState() { return (ComplexTestBean) super.getState(); -- cgit v1.2.3