diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-11-24 14:10:34 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-11-24 14:10:34 +0000 |
commit | df8bf3b419976462a82ea6cc5ba55513f50f7a54 (patch) | |
tree | b3befacd3c9ac0b6ee28f9a1845134b5d292eee1 /cpp/src/IceGrid/SessionI.cpp | |
parent | *** empty log message *** (diff) | |
download | ice-df8bf3b419976462a82ea6cc5ba55513f50f7a54.tar.bz2 ice-df8bf3b419976462a82ea6cc5ba55513f50f7a54.tar.xz ice-df8bf3b419976462a82ea6cc5ba55513f50f7a54.zip |
Code cleanup
Diffstat (limited to 'cpp/src/IceGrid/SessionI.cpp')
-rw-r--r-- | cpp/src/IceGrid/SessionI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/SessionI.cpp b/cpp/src/IceGrid/SessionI.cpp index 65ae312a1de..9f099595fa4 100644 --- a/cpp/src/IceGrid/SessionI.cpp +++ b/cpp/src/IceGrid/SessionI.cpp @@ -226,7 +226,7 @@ SessionI::allocateObjectById_async(const AMD_Session_allocateObjectByIdPtr& cb, const Ice::Identity& id, const Ice::Current&) { - _database->allocateObject(id, newAllocateObject(this, cb)); + _database->getAllocatableObject(id)->allocate(newAllocateObject(this, cb)); } void @@ -234,13 +234,13 @@ SessionI::allocateObjectByType_async(const AMD_Session_allocateObjectByTypePtr& const string& type, const Ice::Current&) { - _database->allocateObjectByType(type, newAllocateObject(this, cb)); + _database->getAllocatableObjectCache().allocateByType(type, newAllocateObject(this, cb)); } void SessionI::releaseObject(const Ice::Identity& id, const Ice::Current&) { - _database->releaseObject(id, this); + _database->getAllocatableObject(id)->release(this); } void |