Class TransientNameService
java.lang.Object
com.sun.corba.se.impl.naming.cosnaming.TransientNameService
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.
-
Constructor Summary
ConstructorsConstructorDescriptionTransientNameService(ORB orb) Constructs a new TransientNameService, and creates an initial NamingContext, whose object reference can be obtained by the initialNamingContext method.TransientNameService(ORB orb, String serviceName) Constructs a new TransientNameService, and creates an initial NamingContext, whose object reference can be obtained by the initialNamingContext method. -
Method Summary
Modifier and TypeMethodDescriptionReturn the initial NamingContext.
-
Constructor Details
-
TransientNameService
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
Constructs a new TransientNameService, and creates an initial NamingContext, whose object reference can be obtained by the initialNamingContext method.- Parameters:
orb- The ORB objectnameserviceName- Stringified key used for INS Service registry- Throws:
INITIALIZE- Thrown if the TransientNameService cannot initialize.
-
-
Method Details
-
initialNamingContext
Return the initial NamingContext.- Returns:
- the object reference for the initial NamingContext.
-