/******************************************************************************* * E.S.O. - ACS project * * "@(#) $Id: maciServantManager.cpp,v 1.87 2008/10/01 02:40:28 cparedes Exp $" * * who when what * -------- ---------- ---------------------------------------------- * msekoran 2001/02/21 created */ #include #include #include #include using namespace maci; /* * @throw PortableServer::ForwardRequest */ PortableServer::Servant MACIServantManager::incarnate (const PortableServer::ObjectId &oid, PortableServer::POA_ptr poa) { ACE_UNUSED_ARG(oid); ACE_UNUSED_ARG(poa); // should not be called because all objects should be // already activated by activator throw CORBA::OBJECT_NOT_EXIST (); return 0; } void MACIServantManager::etherealize (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, PortableServer::Servant servant, CORBA::Boolean cleanup_in_progress, CORBA::Boolean remaining_activations) { ACE_UNUSED_ARG(adapter); ACE_UNUSED_ARG(cleanup_in_progress); #ifndef ACE_HAS_EXCEPTIONS ACE_UNUSED_ARG(_ACE_CORBA_Environment_variable); #endif if (remaining_activations==0) { CORBA::String_var id = PortableServer::ObjectId_to_string (oid); ContainerImpl::getContainer()->etherealizeComponent(id.in(), servant); } }