Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / performance-tests / POA / Implicit_Activation / Factory.cpp
blob079be5674be6c2c4733d2b121941f501c8243518
1 #include "Factory.h"
2 #include "Simple.h"
4 Factory::Factory (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 Test::Simple_ptr
10 Factory::create_simple_object (void)
12 Simple *simple_impl;
13 ACE_NEW_THROW_EX (simple_impl,
14 Simple,
15 CORBA::NO_MEMORY ());
17 PortableServer::ServantBase_var owner_transfer(simple_impl);
19 return simple_impl->_this ();
22 void
23 Factory::shutdown (void)
25 this->orb_->shutdown (0);