#include <PortableGroup_Loader.h>
Public Member Functions | |
TAO_PortableGroup_Loader (void) | |
Constructor. | |
virtual int | init (int argc, ACE_TCHAR *[]) |
Initialize the PortableGroup loader hooks. | |
Static Public Member Functions | |
static int | Initializer (void) |
Used to force the initialization of the ORB code. |
Definition at line 42 of file PortableGroup_Loader.h.
TAO_PortableGroup_Loader::TAO_PortableGroup_Loader | ( | void | ) |
int TAO_PortableGroup_Loader::init | ( | int | argc, | |
ACE_TCHAR * | [] | |||
) | [virtual] |
Initialize the PortableGroup loader hooks.
Register the Portablegroup ORBInitializer.
Reimplemented from ACE_Shared_Object.
Definition at line 22 of file PortableGroup_Loader.cpp.
{ ACE_TRACE ("TAO_PortableGroup_Loader::init"); // Register the ORB initializer. try { PortableInterceptor::ORBInitializer_ptr temp_orb_initializer = PortableInterceptor::ORBInitializer::_nil (); PortableInterceptor::ORBInitializer_var orb_initializer; /// Register the Portablegroup ORBInitializer. ACE_NEW_THROW_EX (temp_orb_initializer, TAO_PortableGroup_ORBInitializer (), CORBA::NO_MEMORY ( CORBA::SystemException::_tao_minor_code ( TAO::VMCID, ENOMEM), CORBA::COMPLETED_NO)); orb_initializer = temp_orb_initializer; PortableInterceptor::register_orb_initializer (orb_initializer.in ()); } catch (const CORBA::Exception& ex) { ex._tao_print_exception ( "Unexpected exception caught while initializing the PortableGroup:"); return 1; } return 0; }
int TAO_PortableGroup_Loader::Initializer | ( | void | ) | [static] |
Used to force the initialization of the ORB code.
Definition at line 56 of file PortableGroup_Loader.cpp.
{ ACE_Service_Config::process_directive (ace_svc_desc_TAO_PortableGroup_Loader); return -1; }