org.objectweb.carol.jndi.ns
Class JacORBCosNaming

java.lang.Object
  extended by org.objectweb.carol.jndi.ns.AbsRegistry
      extended by org.objectweb.carol.jndi.ns.JacORBCosNaming
All Implemented Interfaces:
NameService

public class JacORBCosNaming
extends AbsRegistry
implements NameService

Allow to start the nameservice of JacORB within Carol

Author:
Florent Benoit

Constructor Summary
JacORBCosNaming()
          Default constructor
 
Method Summary
static org.omg.CORBA.ORB getOrb()
           
 void start()
          Start a new NameService or do nothing if the name service is already started
 void stop()
          Stop a NameService or do nothing if the name service is already stopped
 
Methods inherited from class org.objectweb.carol.jndi.ns.AbsRegistry
getConfigProperties, getHost, getPort, isStarted, 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, isStarted, setConfigProperties, setHost, setPort
 

Constructor Detail

JacORBCosNaming

public JacORBCosNaming()
Default constructor

Method Detail

start

public void start()
           throws NameServiceException
Start a new NameService or do nothing if the name service is already started

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 a NameService or do nothing if the name service is already stopped

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

getOrb

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