org.huihoo.jfox.service
Class ServiceLocator

java.lang.Object
  |
  +--org.huihoo.jfox.service.ServiceLocator

public class ServiceLocator
extends java.lang.Object

Get a remote Service according the host and port

Author:
Young Yang

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