org.objectweb.carol.jndi.ns
Class NameServiceManager

java.lang.Object
  |
  +--org.objectweb.carol.jndi.ns.NameServiceManager

public class NameServiceManager
extends java.lang.Object


Field Summary
static java.util.Hashtable nsTable
          Name Service Hashtable
 
Method Summary
static NameServiceManager getNSManagerCurrent()
          Method getCurrent
static void main(java.lang.String[] args)
          Main function: start all registry and wait for control C function
static void startNonStartedNS()
          Start all non-started names service
static void startNS()
          Start all names service
static void stopNS()
          Stop all name services
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nsTable

public static java.util.Hashtable nsTable
Name Service Hashtable

Method Detail

getNSManagerCurrent

public static NameServiceManager getNSManagerCurrent()
Method getCurrent

Returns:
NameServiceManager return the current

startNS

public static void startNS()
                    throws NameServiceException
Start all names service

Throws:
NameServiceException - if one of the name services is already start

startNonStartedNS

public static void startNonStartedNS()
                              throws NameServiceException
Start all non-started names service

Throws:
NameServiceException - if an exception occure at starting time

stopNS

public static void stopNS()
                   throws NameServiceException
Stop all name services

Throws:
NameServiceException - if an exception occure at stoping time

main

public static void main(java.lang.String[] args)
Main function: start all registry and wait for control C function