Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.huihoo.jfox.jndi
Class ServiceLocator

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

public class ServiceLocator
extends java.lang.Object

cache and get NamingService

Author:
  Young Yang

Constructor Summary
`ServiceLocator()`

Method Summary
`static NamingService` | `getNamingService(java.lang.String host, int port)` get NamingService Remote Reference from the host: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

### getNamingService

    public static NamingService getNamingService(java.lang.String host,
                                                 int port)
                                          throws javax.naming.CommunicationException

  get NamingService Remote Reference from the host:port

    `javax.naming.CommunicationException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD