8 //=============================================================================
10 * standard constructor
12 //=============================================================================
14 HELLO::HELLO(CORBA::ORB_ptr orb,
15 PortableServer::POA_ptr poa,
16 PortableServer::ObjectId * contId,
17 const char *instanceName,
18 const char *interfaceName) :
19 Engines_Component_i(orb, poa, contId, instanceName, interfaceName)
21 MESSAGE("activate object");
23 _id = _poa->activate_object(_thisObj);
31 char* HELLO::makeBanner(const char* name)
33 string banner="Hello, ";
35 return CORBA::string_dup(banner.c_str());
42 PortableServer::ObjectId * HELLOEngine_factory(
44 PortableServer::POA_ptr poa,
45 PortableServer::ObjectId * contId,
46 const char *instanceName,
47 const char *interfaceName)
49 MESSAGE("PortableServer::ObjectId * HELLOEngine_factory()");
50 SCRUTE(interfaceName);
52 = new HELLO(orb, poa, contId, instanceName, interfaceName);
53 return myHELLO->getId() ;