Package net.sourceforge.rmilite.impl

Examples of net.sourceforge.rmilite.impl.RemoteInvocationHandlerImpl


    public Server(int port) throws RemoteException {
        registry = LocateRegistry.createRegistry(port);
    }

    public void publish(Class<?> iface, Object impl, Class<?>[] exportedInterfaces) throws RemoteException {
        RemoteInvocationHandlerImpl handler = new RemoteInvocationHandlerImpl(impl, new HashSet<Class<?>>(
                Arrays.asList(exportedInterfaces)));
        registry.rebind(iface.getName(), handler);
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.rmilite.impl.RemoteInvocationHandlerImpl

Copyright © 2018 www.massapicom. 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.