]> source.dussan.org Git - vaadin-framework.git/commit
Only process RPC invocation if there's a handler for it (#10134) 98/298/1
authorLeif Åstrand <leif@vaadin.com>
Tue, 20 Nov 2012 08:44:45 +0000 (10:44 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 20 Nov 2012 08:47:09 +0000 (10:47 +0200)
commitd0d84ec68f2b786a39bff36d091c9b256c9e42c3
treecbf5d52bd5ee7e66651817d178e025ca85980cf0
parent512b541b3edb1dbc919dd1fa757965a766c603ad
Only process RPC invocation if there's a handler for it (#10134)
* RpcManagers lookup by String instead of Class to avoid loading the
class sent by the client
* Some generics tightened to only accept ServerRpc instances
* Remove RpcTarget as it is only supported for ClientConnector

Change-Id: I264d58f373db7ea3258cbc28dfc0fa1ec952723d
server/src/com/vaadin/server/AbstractClientConnector.java
server/src/com/vaadin/server/AbstractCommunicationManager.java
server/src/com/vaadin/server/AbstractJavaScriptExtension.java
server/src/com/vaadin/server/ClientConnector.java
server/src/com/vaadin/server/DragAndDropService.java
server/src/com/vaadin/server/RpcTarget.java [deleted file]
server/src/com/vaadin/server/ServerRpcManager.java
server/src/com/vaadin/server/ServerRpcMethodInvocation.java
server/src/com/vaadin/ui/AbstractJavaScriptComponent.java