Examples of RmiProxyFactory


Examples of com.alibaba.dubbo.rpc.protocol.rmi.RmiProxyFactory

    }

    public <T> Invoker<T> getInvoker(Remote remote, Class<T> serviceType, URL url) {
        ExtensionLoader<RmiProxyFactory> extensionLoader = ExtensionLoader.getExtensionLoader(RmiProxyFactory.class);
        for (String name : extensionLoader.getSupportedExtensions()) {
            RmiProxyFactory rmiProxyFactory = extensionLoader.getExtension(name);
            if (rmiProxyFactory.isSupported(remote, serviceType, url)) {
                return rmiProxyFactory.getInvoker(remote, serviceType, url);
            }
        }
        throw new UnsupportedOperationException("Unsupported remote stub " + remote + " by type " + extensionLoader.getSupportedExtensions() + ", service: " + serviceType.getName() + ", url" + url);
    }
View Full Code Here

Examples of com.alibaba.dubbo.rpc.protocol.rmi.RmiProxyFactory

    }

    public <T> Invoker<T> getInvoker(Remote remote, Class<T> serviceType, URL url) {
        ExtensionLoader<RmiProxyFactory> extensionLoader = ExtensionLoader.getExtensionLoader(RmiProxyFactory.class);
        for (String name : extensionLoader.getSupportedExtensions()) {
            RmiProxyFactory rmiProxyFactory = extensionLoader.getExtension(name);
            if (rmiProxyFactory.isSupported(remote, serviceType, url)) {
                return rmiProxyFactory.getInvoker(remote, serviceType, url);
            }
        }
        throw new UnsupportedOperationException("Unsupported remote stub " + remote + " by type " + extensionLoader.getSupportedExtensions() + ", service: " + serviceType.getName() + ", url" + url);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.