Example usage for com.vaadin.client ServerConnector getRpcImplementations

List of usage examples for com.vaadin.client ServerConnector getRpcImplementations

Introduction

In this page you can find the example usage for com.vaadin.client ServerConnector getRpcImplementations.

Prototype

public <T extends ClientRpc> Collection<T> getRpcImplementations(String rpcInterfaceId);

Source Link

Document

For internal use by the framework: returns the registered RPC implementations for an RPC interface identifier.

Usage

From source file:org.opencms.ui.client.CmsRpcManager.java

License:Open Source License

/**
 * @see com.vaadin.client.communication.RpcManager#applyInvocation(com.vaadin.shared.communication.MethodInvocation, com.vaadin.client.ServerConnector)
 *//*from w w w . j a  v a  2  s.c  om*/
@Override
public void applyInvocation(MethodInvocation invocation, ServerConnector connector) {

    if (connector.getRpcImplementations(invocation.getInterfaceName()).isEmpty()) {
        CmsDebugLog
                .consoleLog("Warning: no registered RPC implementation for " + invocation.getInterfaceName());
    }
    super.applyInvocation(invocation, connector);
}