1 #include "tao/Utils/Implicit_Deactivator.h"
2 #include "tao/PortableServer/Servant_Base.h"
4 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
7 TAO::Utils::Implicit_Deactivation_Functor::operator () (
8 PortableServer::ServantBase
* servant
) noexcept
12 PortableServer::POA_var
poa (servant
->_default_POA ());
14 PortableServer::ObjectId_var
id (poa
->servant_to_id (servant
));
16 poa
->deactivate_object (id
.in());
20 // @@ Cannot let exceptions escape, yet we need to log them!
24 TAO_END_VERSIONED_NAMESPACE_DECL