public class NameServiceManager
extends java.lang.Object
NameServicemanager
is the CAROL Name Service manager.
This is the carol API for Nme services managementModifier and Type | Method and Description |
---|---|
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
|
public static NameServiceManager getNSManagerCurrent()
public static void startNS() throws NameServiceException
NameServiceException
- if one of the name services is already startpublic static void startNonStartedNS()
public static void stopNS() throws NameServiceException
NameServiceException
- if an exception occure at stoping timepublic static void main(java.lang.String[] args)
args
- arguments