diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-10-21 08:30:38 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-10-21 08:30:38 +0000 |
commit | 9f02417852686f6c9b9ad237ea1708e8eedf07fd (patch) | |
tree | da0a73d22f7c05242c36b6f26a7325d7f996f028 /cpp/src/IceGrid/RegistryI.cpp | |
parent | If GetSockOpt fails then throw ConnectionFailedException. (diff) | |
download | ice-9f02417852686f6c9b9ad237ea1708e8eedf07fd.tar.bz2 ice-9f02417852686f6c9b9ad237ea1708e8eedf07fd.tar.xz ice-9f02417852686f6c9b9ad237ea1708e8eedf07fd.zip |
Added getQuery and getAdmin methods to the session interface.
Diffstat (limited to 'cpp/src/IceGrid/RegistryI.cpp')
-rw-r--r-- | cpp/src/IceGrid/RegistryI.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/IceGrid/RegistryI.cpp b/cpp/src/IceGrid/RegistryI.cpp index d37efab7549..637bc619ca9 100644 --- a/cpp/src/IceGrid/RegistryI.cpp +++ b/cpp/src/IceGrid/RegistryI.cpp @@ -242,19 +242,19 @@ RegistryI::start(bool nowarn) } // - // Create the internal registries (node, server, adapter, object). - // - const string envName = "Registry"; - properties->setProperty("Freeze.DbEnv.Registry.DbHome", dbPath); - _database = new Database(registryAdapter, envName, _nodeSessionTimeout, traceLevels); - - // // Get the instance name // const string instanceNameProperty = "IceGrid.InstanceName"; string instanceName = properties->getPropertyWithDefault(instanceNameProperty, "IceGrid"); // + // Create the internal registries (node, server, adapter, object). + // + const string envName = "Registry"; + properties->setProperty("Freeze.DbEnv.Registry.DbHome", dbPath); + _database = new Database(registryAdapter, envName, instanceName, _nodeSessionTimeout, traceLevels); + + // // Create the locator registry and locator interfaces. // bool dynamicReg = properties->getPropertyAsInt("IceGrid.Registry.DynamicRegistration") > 0; |