|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.dist.Distd | +--org.objectweb.jac.core.dist.corba.CORBADistd
CORBADistd is a jac daemon that support the IIOP communication protocol. Daemons hold containers (only one for the moment) which themselves hold remote objects.
Field Summary | |
protected static String |
cosNamingEntryType
The string used to identify the type of objects registered in the COS Naming. |
protected NamingContext |
nc
The root naming context of the COSNaming. |
protected ORB |
orb
The CORBA ORB. |
protected org.omg.PortableServer.POA |
poa
The CORBA root POA. |
Fields inherited from class org.objectweb.jac.core.dist.Distd |
containers, flags, inputCount, localContainerName, options, outputCount, referenceContainerName, verbose |
Constructor Summary | |
CORBADistd(String[] args)
The is the main constructor. |
Method Summary | |
void |
init()
This method initializes the CORBA environment. |
static void |
main(String[] args)
|
void |
newContainer(String name)
This method creates a new container. |
void |
newContainer(String name,
String className)
This method creates a new container and instantiates a given class. |
protected void |
registerContainer(CORBARemoteContainer container,
String name)
This method register a container in the CORBA COSNaming. |
void |
run()
This method enters the event loop of the underlying communication protocol. |
Methods inherited from class org.objectweb.jac.core.dist.Distd |
containsContainer, getFullHostName, getLocalContainerName, parseArguments, stringArrayToHashtable, usage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ORB orb
protected org.omg.PortableServer.POA poa
protected NamingContext nc
protected static final String cosNamingEntryType
Constructor Detail |
public CORBADistd(String[] args)
args
- command line argumentsMethod Detail |
public void init()
init
in class Distd
public void newContainer(String name)
newContainer
in class Distd
name
- the identifier of the container
protected void registerContainer(CORBARemoteContainer container, String name)
container
- the containername
- the identifier of the containerpublic void newContainer(String name, String className)
newContainer
in class Distd
name
- the identifier of the containerclassName
- the name of the class to instantiate
public void run()
run
in class Distd
public static void main(String[] args)
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |