org.objectweb.carol.jndi.ns
Class JacORBCosNaming
java.lang.Object
org.objectweb.carol.jndi.ns.JacORBCosNaming
- NameService
public class JacORBCosNaming
extends java.lang.Object
Allow to start the nameservice of JacORB within Carol
- Florent Benoit
static ORB | getOrb()
|
int | getPort() - get port method, get the port for the name service
|
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 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
|
JacORBCosNaming
public JacORBCosNaming()
Default constructor
getOrb
public static ORB getOrb()
- the orb.
getPort
public int getPort()
get port method, get the port for the name service
- getPort in interface NameService
- int port number
isStarted
public boolean isStarted()
isStarted Method, check if a name service is started
- isStarted in interface NameService
- boolean true if the name service is started
setPort
public void setPort(int p)
set port method, set the port for the name service
- setPort in interface NameService
p
- port number