diff options
Diffstat (limited to 'TAO/examples/POA/On_Demand_Activation/Servant_Locator.h')
-rw-r--r-- | TAO/examples/POA/On_Demand_Activation/Servant_Locator.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h index bea915fb46f..f82d6d6e292 100644 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h +++ b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h @@ -18,9 +18,8 @@ //================================================================================== #include "tao/corba.h" -#include "tao/PortableServer/PortableServer.h" -class MyFooServantLocator : public PortableServer::ServantLocator +class MyFooServantLocator : public POA_PortableServer::ServantLocator { // = TITLE // This class is used by a POA with USE_SERVANT_MANAGER and @@ -33,9 +32,7 @@ public: PortableServer::POA_ptr adapter, const char *operation, PortableServer::ServantLocator::Cookie &the_cookie - TAO_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::ForwardRequest)); + TAO_ENV_ARG_DECL); // This method is invoked by a POA whenever it receives a request // for MyFoo object that is not currently active. @@ -44,8 +41,7 @@ public: const char *operation, PortableServer::ServantLocator::Cookie the_cookie, PortableServer::Servant the_servant - TAO_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + TAO_ENV_ARG_DECL); // This method is invoked whenever a MyFooServant completes a // request. |