org.objectweb.carol.jndi.ns
Class IIOPCosNaming

java.lang.Object
  extended byorg.objectweb.carol.jndi.ns.AbsRegistry
      extended byorg.objectweb.carol.jndi.ns.IIOPCosNaming
All Implemented Interfaces:
NameService

public class IIOPCosNaming
extends AbsRegistry
implements NameService

Class IIOPCosNaming Start in a separated process (see the sun orbd documentation)

Author:
Guillaume Riviere, Florent Benoit (add POA model / Refactoring)

Constructor Summary
IIOPCosNaming()
          Default constructor
 
Method Summary
static org.omg.CORBA.ORB getOrb()
           
 boolean isStarted()
          isStarted Method, check if a name service is started
 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
 
Methods inherited from class org.objectweb.carol.jndi.ns.AbsRegistry
getConfigProperties, getHost, getPort, resetStarted, setConfigProperties, setHost, setPort, setStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.carol.jndi.ns.NameService
getHost, getPort, setConfigProperties, setHost, setPort
 

Constructor Detail

IIOPCosNaming

public IIOPCosNaming()
Default constructor

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

Specified by:
start in interface NameService
Specified by:
start in class AbsRegistry
Throws:
NameServiceException - if a problem occurs

stop

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

Specified by:
stop in interface NameService
Specified by:
stop in class AbsRegistry
Throws:
NameServiceException - if a problem occure

isStarted

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

Specified by:
isStarted in interface NameService
Overrides:
isStarted in class AbsRegistry
Returns:
boolean true if the name service is started

getOrb

public static org.omg.CORBA.ORB getOrb()
Returns:
the orb.