Class TransientNameServer

java.lang.Object
com.sun.corba.ee.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:
  • invalid reference
    com.sun.corba.se.internal.CosNaming.BootstrapServer
  • Field Details

  • Constructor Details

    • TransientNameServer

      private TransientNameServer()
      Private constructor since no object of this type should be instantiated.
  • Method Details

    • initializeRootNamingContext

      private static Object initializeRootNamingContext(ORB orb)
    • 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.