A class to dynamically load object implementations into an ORB. More...
#include <Object_Loader.h>
Public Member Functions | |
virtual | ~TAO_Object_Loader (void) |
The destructor. | |
virtual CORBA::Object_ptr | create_object (CORBA::ORB_ptr orb, int argc, ACE_TCHAR *argv[])=0 |
A class to dynamically load object implementations into an ORB.
Many services and components of the ORB can be dynamically loaded, often these components are returned to the application via an object reference (CORBA::Object_ptr). This class is used to dynamically load such components, and encapsulate the creation of the object reference.
Definition at line 50 of file Object_Loader.h.
TAO_Object_Loader::~TAO_Object_Loader | ( | void | ) | [virtual] |
virtual CORBA::Object_ptr TAO_Object_Loader::create_object | ( | CORBA::ORB_ptr | orb, | |
int | argc, | |||
ACE_TCHAR * | argv[] | |||
) | [pure virtual] |
Create and activate a new object into the orb. This method cannot throw any exception, but it can return a nil object to indicate an error condition.
Implemented in TAO_CodecFactory_Loader, TAO_Compression_Loader, TAO_DynamicAny_Loader, TAO_IORManip_Loader, TAO_PICurrent_Loader, TAO_POA_Current_Factory, and TAO_TypeCodeFactory_Loader.