2 #include "Servant_Activator.h"
5 test_i::test_i (CORBA::ORB_ptr orb
,
6 PortableServer::POA_ptr poa
,
7 ServantActivator
&activator
,
9 : orb_ (CORBA::ORB::_duplicate (orb
)),
10 poa_ (PortableServer::POA::_duplicate (poa
)),
11 activator_ (activator
),
19 return this->value_
++;
25 this->activator_
.forward_requests ();
27 PortableServer::ObjectId_var id
=
28 this->poa_
->servant_to_id (this);
30 this->poa_
->deactivate_object (id
.in ());
37 this->orb_
->shutdown (false);
40 PortableServer::POA_ptr
41 test_i::_default_POA ()
43 return PortableServer::POA::_duplicate (this->poa_
.in ());