org.objectweb.david.libs.services.CosNaming
Class NameServer
java.lang.Object
|
+--org.objectweb.david.libs.services.CosNaming.NameServer
- public class NameServer
- extends Object
Non persistent, non fault-tolerant COS Naming Service.
Usage: java org.objectweb.david.libs.services.CosNaming.NameServer [options]
where [options] are:
-file filename indicates a file name where the name server IOR
should be written
-port port_number indicates the port number on which a connection should
be opened; The default value is specified under the name
"/david/CosNaming/default_port" in the bootstrap context.
If port = 0, a connection
is opened for the name server on an unused port.
-version prints the server's version number on stderr and exits
-help prints the usage message on stderr and exits
If Java2 is used, the -Xbootclasspath option MUST be used so that the
the org.omg classes provided with Jonathan are loaded prior to those provided
by Java2. This name server uses IIOP to interact with clients.
|
Method Summary |
static void |
main(String[] args)
Launches the name server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameServer
public NameServer()
main
public static void main(String[] args)
- Launches the name server.
- Parameters:
args - Name Server options.