org.huihoo.jfox.system
Class ServiceLocator

java.lang.Object
  extended byorg.huihoo.jfox.system.ServiceLocator

public class ServiceLocator
extends java.lang.Object

Get a remote Service according the host and port


Constructor Summary
ServiceLocator()
           
 
Method Summary
static java.lang.Object getRemoteObject(java.net.InetAddress host, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLocator

public ServiceLocator()
Method Detail

getRemoteObject

public static java.lang.Object getRemoteObject(java.net.InetAddress host,
                                               int port)
                                        throws java.io.IOException,
                                               java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException