Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Default_Stub_Factory.cpp

Go to the documentation of this file.
00001 #include "tao_pch.h"
00002 // $Id: Default_Stub_Factory.cpp,v 1.1.1.2.2.1 2003/03/14 16:05:12 chad Exp $
00003 #include "Default_Stub_Factory.h"
00004 #include "Stub.h"
00005 
00006 ACE_RCSID(tao, TAO_Default_Stub_Factory, "$Id: Default_Stub_Factory.cpp,v 1.1.1.2.2.1 2003/03/14 16:05:12 chad Exp $")
00007 
00008 TAO_Default_Stub_Factory::~TAO_Default_Stub_Factory (void)
00009 {
00010   // No-Op.
00011 }
00012 
00013 TAO_Stub *
00014 TAO_Default_Stub_Factory::create_stub (const char *repository_id,
00015                                const TAO_MProfile &profiles,
00016                                TAO_ORB_Core *orb_core
00017                                ACE_ENV_ARG_DECL)
00018 {
00019   TAO_Stub *retval = 0;
00020 
00021   ACE_NEW_THROW_EX (retval,
00022                     TAO_Stub (repository_id, profiles, orb_core),
00023                     CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
00024                                       CORBA::COMPLETED_MAYBE));
00025   ACE_CHECK_RETURN (retval);
00026 
00027   return retval;
00028 }
00029 
00030 // ****************************************************************
00031 
00032 ACE_STATIC_SVC_DEFINE (TAO_Default_Stub_Factory,
00033                        ACE_TEXT ("Default_Stub_Factory"),
00034                        ACE_SVC_OBJ_T,
00035                        &ACE_SVC_NAME (TAO_Default_Stub_Factory),
00036                        ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00037                        0)
00038 ACE_FACTORY_DEFINE (TAO, TAO_Default_Stub_Factory)

Generated on Mon Jun 16 13:48:14 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002