summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/RegistryI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-07-08 13:47:30 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-07-08 13:47:30 +0000
commit99894938dbde9a0bb10fc1998d9863cae52b8977 (patch)
tree5b68e52e9a62792f11d8a4e2c844d394cd39f496 /cpp/src/IceGrid/RegistryI.cpp
parentFixed Ice interoperability issue (diff)
downloadice-99894938dbde9a0bb10fc1998d9863cae52b8977.tar.bz2
ice-99894938dbde9a0bb10fc1998d9863cae52b8977.tar.xz
ice-99894938dbde9a0bb10fc1998d9863cae52b8977.zip
More adapter replication changes.
Diffstat (limited to 'cpp/src/IceGrid/RegistryI.cpp')
-rw-r--r--cpp/src/IceGrid/RegistryI.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/cpp/src/IceGrid/RegistryI.cpp b/cpp/src/IceGrid/RegistryI.cpp
index 11815956f79..48958799369 100644
--- a/cpp/src/IceGrid/RegistryI.cpp
+++ b/cpp/src/IceGrid/RegistryI.cpp
@@ -264,15 +264,15 @@ RegistryI::start(bool nowarn)
ObjectPrx queryPrx = clientAdapter->createDirectProxy(queryId);
try
{
- _database->removeObjectDescriptor(queryPrx->ice_getIdentity());
+ _database->removeObject(queryPrx->ice_getIdentity());
}
catch(const ObjectNotExistException&)
{
}
- ObjectDescriptor desc;
- desc.proxy = queryPrx;
- desc.type = "::IceGrid::Query";
- _database->addObjectDescriptor(desc);
+ ObjectInfo info;
+ info.proxy = queryPrx;
+ info.type = "::IceGrid::Query";
+ _database->addObject(info);
//
// Create the admin interface and register it with the object registry.
@@ -284,14 +284,14 @@ RegistryI::start(bool nowarn)
ObjectPrx adminPrx = adminAdapter->createDirectProxy(adminId);
try
{
- _database->removeObjectDescriptor(adminPrx->ice_getIdentity());
+ _database->removeObject(adminPrx->ice_getIdentity());
}
catch(const ObjectNotExistException&)
{
}
- desc.proxy = adminPrx;
- desc.type = "::IceGrid::Admin";
- _database->addObjectDescriptor(desc);
+ info.proxy = adminPrx;
+ info.type = "::IceGrid::Admin";
+ _database->addObject(info);
//
// Set the IceGrid.Registry.Internal adapter direct proxy directly in the database.
@@ -368,14 +368,14 @@ RegistryI::start(bool nowarn)
ObjectPrx sessionManagerPrx = adminAdapter->createDirectProxy(sessionManagerId);
try
{
- _database->removeObjectDescriptor(sessionManagerPrx->ice_getIdentity());
+ _database->removeObject(sessionManagerPrx->ice_getIdentity());
}
catch(const ObjectNotExistException&)
{
}
- desc.proxy = sessionManagerPrx;
- desc.type = "::IceGrid::SessionManager";
- _database->addObjectDescriptor(desc);
+ info.proxy = sessionManagerPrx;
+ info.type = "::IceGrid::SessionManager";
+ _database->addObject(info);
//
// We are ready to go!