summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/POAManager.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-02-04 04:05:35 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-02-04 04:05:35 +0000
commit6c8b166d60faa17c7e6d1ed7367caaf2ec6e3af2 (patch)
treed593f65cb3c309fcc4d24689bce6ee8020c09745 /TAO/tao/PortableServer/POAManager.h
parent0cc65044817674e239e0a682f198c041f21e3846 (diff)
downloadATCD-6c8b166d60faa17c7e6d1ed7367caaf2ec6e3af2.tar.gz
Another code review for Priyanka's code.
Diffstat (limited to 'TAO/tao/PortableServer/POAManager.h')
-rw-r--r--TAO/tao/PortableServer/POAManager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/POAManager.h b/TAO/tao/PortableServer/POAManager.h
index 9a862da113d..efea3f78639 100644
--- a/TAO/tao/PortableServer/POAManager.h
+++ b/TAO/tao/PortableServer/POAManager.h
@@ -101,6 +101,8 @@ protected:
/// Method needed for notifying the IORInterceptors that the state
/// of POAManager changed.
+ // @@ Priyanka, the below "CORBA::Environment &ACE_TRY_ENV" should
+ // be "ACE_ENV_ARG_DECL" (without the "_WITH_DEFAULTS").
void adapter_manager_state_changed (PortableServer::POAManager::State state,
CORBA::Environment &ACE_TRY_ENV);
@@ -137,6 +139,11 @@ protected:
TAO_Object_Adapter &object_adapter_;
+ // @@ Priyanka, why is this static!!! This is a really bad idea.
+ // A static manager ID forces all TAO_POA_Manager instances to
+ // share the same ID. There is nothing keeping an application
+ // from using multiple POAManagers. Please make this variable
+ // strictly local to a given instance.
static PortableInterceptor::AdapterManagerId poa_manager_id_;
};