diff options
author | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-04-21 21:30:51 +0000 |
---|---|---|
committer | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-04-21 21:30:51 +0000 |
commit | 4d856930579320233e4fb424de62b6f5f1d2c137 (patch) | |
tree | b633c68d0923ead31a1db1acfcd9e90d76052fdd /CIAO/DAnCE/NodeApplication/Container_Impl.h | |
parent | b19f92dd5421a770e68b0b2de25a2a6cef890db6 (diff) | |
download | ATCD-4d856930579320233e4fb424de62b6f5f1d2c137.tar.gz |
Sat Apr 21 21:26:30 UTC 2007 Gan Deng <gan.deng@vanderbilt.edu>
Diffstat (limited to 'CIAO/DAnCE/NodeApplication/Container_Impl.h')
-rw-r--r-- | CIAO/DAnCE/NodeApplication/Container_Impl.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/CIAO/DAnCE/NodeApplication/Container_Impl.h b/CIAO/DAnCE/NodeApplication/Container_Impl.h index 8d749149acb..96ec5eb9e6c 100644 --- a/CIAO/DAnCE/NodeApplication/Container_Impl.h +++ b/CIAO/DAnCE/NodeApplication/Container_Impl.h @@ -28,10 +28,11 @@ #include "DAnCE/Deployment/Deployment_ContainerS.h" #include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "DAnCE/Deployment//DeploymentC.h" -#include "ciao/Session_Container.h" #include "ace/SString.h" +#include "ace/Auto_Ptr.h" #include "ciao/Server_init.h" // write_IOR function & NameUtility #include "ciao/CIAO_common.h" // CIAO::debug_level +#include "ciao/Session_Container.h" #include "NodeApp_Configurator.h" namespace CIAO @@ -127,9 +128,6 @@ namespace CIAO /// _this if there's no cached reference available. Notice that /// this method does *NOT* increase the reference count of the /// cached reference. - /// @@ Gan, caller should own memory. In this case you shoudl - /// return a duplicate OR add a const to the operation - /// signature. This is simply bad programming. Deployment::Container_ptr get_objref (); protected: @@ -141,7 +139,8 @@ protected: /// Internal container implementation. // @@ Gan/Jai, heard of auto_ptr <>? - CIAO::Container *container_; + //CIAO::Container *container_; + ACE_Auto_Ptr<CIAO::Container> container_; /// Cached ConfigValues. Deployment::Properties properties_; |