Class TransientNameService

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

public class TransientNameService extends Object
Class TransientNameService implements a transient name service using TransientNamingContexts and TransientBindingIterators, which implement the org.omg.CosNaming::NamingContext and org.omg.CosNaming::BindingIterator interfaces specfied by the OMG Common Object Services Specification.

The TransientNameService creates the initial NamingContext object.

See Also:
  • Constructor Details

    • TransientNameService

      public TransientNameService(ORB orb) throws INITIALIZE
      Constructs a new TransientNameService, and creates an initial NamingContext, whose object reference can be obtained by the initialNamingContext method.
      Parameters:
      orb - The ORB object
      Throws:
      INITIALIZE - Thrown if the TransientNameService cannot initialize.
    • TransientNameService

      public TransientNameService(ORB orb, String serviceName) throws INITIALIZE
      Constructs a new TransientNameService, and creates an initial NamingContext, whose object reference can be obtained by the initialNamingContext method.
      Parameters:
      orb - The ORB object
      nameserviceName - Stringified key used for INS Service registry
      Throws:
      INITIALIZE - Thrown if the TransientNameService cannot initialize.
  • Method Details

    • initialNamingContext

      public Object initialNamingContext()
      Return the initial NamingContext.
      Returns:
      the object reference for the initial NamingContext.