Class NameService
java.lang.Object
com.sun.corba.se.impl.naming.pcosnaming.NameService
- Since:
- JDK1.2
- Author:
- Hemanth Puttaswamy
-
Constructor Summary
ConstructorsConstructorDescriptionNameService(ORB orb, File logDir) Create NameService which starts the Root Naming Context in Persistent CosNaming -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the Root Naming ContextThis method creates a NewContext, This will internally invoked from NamingContextImpl.
-
Constructor Details
-
NameService
Create NameService which starts the Root Naming Context in Persistent CosNaming- Parameters:
orb- an ORB object.logDir- a File- Throws:
Exception- a Java exception.
-
-
Method Details
-
initialNamingContext
This method returns the Root Naming Context -
NewContext
This method creates a NewContext, This will internally invoked from NamingContextImpl. It is not a public API. NewContext is in this class because a Persiten reference has to be created with Persistent NameService POA.- Throws:
SystemException
-