Class TransientNameServer

java.lang.Object
com.sun.corba.se.impl.naming.cosnaming.TransientNameServer

public class TransientNameServer extends Object
Class TransientNameServer is a standalone application which implements a transient name service. It uses the TransientNameService class for the name service implementation, and the BootstrapServer for implementing bootstrapping, i.e., to get the initial NamingContext.

The BootstrapServer uses a Properties object specify the initial service object references supported; such as Properties object is created containing only a "NameService" entry together with the stringified object reference for the initial NamingContext. The BootstrapServer's listening port is set by first checking the supplied arguments to the name server (-ORBInitialPort), and if not set, defaults to the standard port number. The BootstrapServer is created supplying the Properties object, using no external File object for storage, and the derived initial port number.

See Also:
  • Method Details

    • trace

      public static void trace(String msg)
    • initDebug

      public static void initDebug(String[] args)
    • main

      public static void main(String[] args)
      Main startup routine. It instantiates a TransientNameService object and a BootstrapServer object, and then allows invocations to happen.
      Parameters:
      args - an array of strings representing the startup arguments.