org.smallmind.quorum.transport.remote
Class RemoteProxyFactory

java.lang.Object
  extended by org.smallmind.quorum.transport.remote.RemoteProxyFactory

public class RemoteProxyFactory
extends Object


Constructor Summary
RemoteProxyFactory()
           
 
Method Summary
static
<C> C
generateRemoteProxy(Class<C> endpointInterface, String registryName)
           
static
<C> C
generateRemoteProxy(Class<C> endpointInterface, String hostName, String registryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProxyFactory

public RemoteProxyFactory()
Method Detail

generateRemoteProxy

public static <C> C generateRemoteProxy(Class<C> endpointInterface,
                                        String registryName)
                             throws UnknownHostException,
                                    NoSuchMethodException,
                                    NamingException,
                                    RemoteException
Throws:
UnknownHostException
NoSuchMethodException
NamingException
RemoteException

generateRemoteProxy

public static <C> C generateRemoteProxy(Class<C> endpointInterface,
                                        String hostName,
                                        String registryName)
                             throws NoSuchMethodException,
                                    NamingException,
                                    RemoteException
Throws:
NoSuchMethodException
NamingException
RemoteException


Copyright © 2012. All Rights Reserved.