org.objectweb.carol.jndi.ns
Interface NameService

All Known Implementing Classes:
IIOPCosNaming, JeremieRegistry, JRMPRegistry, LmiRegistry

public interface NameService


Method Summary
 boolean isStarted()
          isStarted Method, check if a name service is started
 void setPort(int p)
          set port method, set the port for the name service
 void start()
          start Method, Start a new NameService or do nothing if the name service is all ready start
 void stop()
          stop Method, Stop a NameService or do nothing if the name service is all ready stop
 

Method Detail

start

public void start()
           throws NameServiceException
start Method, Start a new NameService or do nothing if the name service is all ready start

Throws:
NameServiceException - if a problem occure

stop

public void stop()
          throws NameServiceException
stop Method, Stop a NameService or do nothing if the name service is all ready stop

Throws:
NameServiceException - if a problem occure

isStarted

public boolean isStarted()
isStarted Method, check if a name service is started

Returns:
boolean true if the name service is started

setPort

public void setPort(int p)
set port method, set the port for the name service