summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/WellKnownObjectsManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/WellKnownObjectsManager.cpp')
-rw-r--r--cpp/src/IceGrid/WellKnownObjectsManager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/WellKnownObjectsManager.cpp b/cpp/src/IceGrid/WellKnownObjectsManager.cpp
index a776955933b..f0b186541c8 100644
--- a/cpp/src/IceGrid/WellKnownObjectsManager.cpp
+++ b/cpp/src/IceGrid/WellKnownObjectsManager.cpp
@@ -15,8 +15,7 @@ using namespace std;
using namespace IceGrid;
WellKnownObjectsManager::WellKnownObjectsManager(const DatabasePtr& database) :
- _database(database),
- _initialized(false)
+ _database(database), _initialized(false)
{
}
@@ -72,7 +71,7 @@ WellKnownObjectsManager::registerAll()
// If initialized, the endpoints and well known objects are immutable.
//
updateReplicatedWellKnownObjects();
- _database->addOrUpdateObjectsInDatabase(_wellKnownObjects);
+ _database->addOrUpdateRegistryWellKnownObjects(_wellKnownObjects);
}
void
@@ -105,7 +104,7 @@ WellKnownObjectsManager::updateReplicatedWellKnownObjects()
info.proxy = replicatedClientProxy->ice_identity(id);
objects.push_back(info);
- _database->addOrUpdateObjectsInDatabase(objects);
+ _database->addOrUpdateRegistryWellKnownObjects(objects);
}
bool