|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.jndi.ns.JacORBCosNaming
Allow to start the nameservice of JacORB within Carol
Constructor Summary | |
JacORBCosNaming()
Default constructor |
Method Summary | |
static org.omg.CORBA.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JacORBCosNaming()
Method Detail |
public void start() throws NameServiceException
start
in interface NameService
NameServiceException
- if a problem occurspublic void stop() throws NameServiceException
stop
in interface NameService
NameServiceException
- if a problem occurspublic boolean isStarted()
isStarted
in interface NameService
public void setPort(int p)
setPort
in interface NameService
p
- port numberpublic int getPort()
getPort
in interface NameService
public static org.omg.CORBA.ORB getOrb()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |