summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/On_Demand_Activation/Servant_Activator.h')
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Servant_Activator.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h
index 9a59ae24937..81bc403e182 100644
--- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h
+++ b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h
@@ -17,18 +17,15 @@
// ================================================================
#include "tao/corba.h"
-#include "tao/PortableServer/PortableServer.h"
-class MyFooServantActivator : public PortableServer::ServantActivator
+class MyFooServantActivator : public POA_PortableServer::ServantActivator
{
public:
MyFooServantActivator (CORBA::ORB_ptr orb);
virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid,
PortableServer::POA_ptr poa
- TAO_ENV_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableServer::ForwardRequest));
+ TAO_ENV_ARG_DECL);
// This method is invoked by a POA with USE_SERVANT_MANAGER and
// RETAIN policies , whenever it receives a request for a MyFoo
// object that is not currently active.
@@ -38,8 +35,7 @@ public:
PortableServer::Servant servant,
CORBA::Boolean cleanup_in_progress,
CORBA::Boolean remaining_activations
- TAO_ENV_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ TAO_ENV_ARG_DECL);
// This method is invoked whenever a MyFooServant for a MyFoo object
// is deactivated.