|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.jndi.ns.IIOPCosNaming
Class IIOPCosNaming
Start in a separated process (see the sun
orbd documentation)
Field Summary | |
java.lang.Process |
cosNamingProcess
process of the cosnaming |
int |
port
port number ( 12350 for default) |
Constructor Summary | |
IIOPCosNaming()
|
Method Summary | |
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 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int port
public java.lang.Process cosNamingProcess
Constructor Detail |
public IIOPCosNaming()
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 occurepublic boolean isStarted()
isStarted
in interface NameService
public void setPort(int p)
setPort
in interface NameService
public int getPort()
NameService
getPort
in interface NameService
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |