public interface CorbaNameServiceManager
Modifier and Type | Method and Description |
---|---|
org.omg.CosNaming.NamingContextExt |
getRootNamingContext(org.omg.CORBA.ORB orb,
java.lang.String strNsIorFile)
Returns the root naming context reference through the IOR file
|
org.omg.CosNaming.NamingContextExt |
getRootNamingContext(org.omg.CORBA.ORB orb,
java.lang.String strEmsHost,
java.lang.String strEmsPort,
java.lang.String strNameService)
Returns the root naming context reference through the Naming Service
|
org.omg.CORBA.Object |
resolveNameComponent(org.omg.CosNaming.NamingContextExt globalNC,
java.util.Map<java.lang.String,java.lang.String> esfNamingContextProperties)
Returns the object reference to the specified naming context
|
org.omg.CosNaming.NamingContextExt getRootNamingContext(org.omg.CORBA.ORB orb, java.lang.String strEmsHost, java.lang.String strEmsPort, java.lang.String strNameService) throws java.lang.Exception
orb
- ORB instancestrEmsHost
- EMS hostname/IP addressstrEmsPort
- EMS portstrNameService
- Name reference of the Naming Servicejava.lang.Exception
org.omg.CosNaming.NamingContextExt getRootNamingContext(org.omg.CORBA.ORB orb, java.lang.String strNsIorFile) throws java.lang.Exception
orb
- ORB instancestrNsIorFile
- IOR file for the NameServicejava.lang.Exception
org.omg.CORBA.Object resolveNameComponent(org.omg.CosNaming.NamingContextExt globalNC, java.util.Map<java.lang.String,java.lang.String> esfNamingContextProperties) throws java.lang.Exception
globalNC
- Naming contextesfNamingContextProperties
- Hash map containing all EmsSessionFactory naming context
propertiesjava.lang.Exception