1 // =================================================================
3 * @file CodecFactory.cpp
5 * @author Johnny Willemsen <jwillemsen@remedy.nl>
7 // =================================================================
9 #include "tao/CodecFactory/CodecFactory.h"
10 #include "tao/CodecFactory/CodecFactory_impl.h"
13 #include "tao/debug.h"
15 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
18 TAO_CodecFactory_Loader::create_object (CORBA::ORB_ptr orb
, int, ACE_TCHAR
*[])
20 CORBA::Object_ptr obj
= CORBA::Object_ptr ();
22 TAO_CodecFactory (orb
->orb_core ()),
23 CORBA::Object::_nil ());
28 TAO_CodecFactory_Loader::Initializer ()
30 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_CodecFactory_Loader
);
33 ACE_STATIC_SVC_DEFINE (TAO_CodecFactory_Loader
,
34 ACE_TEXT ("CodecFactory_Loader"),
36 &ACE_SVC_NAME (TAO_CodecFactory_Loader
),
37 ACE_Service_Type::DELETE_THIS
| ACE_Service_Type::DELETE_OBJ
,
39 ACE_FACTORY_DEFINE (TAO_CODECFACTORY
, TAO_CodecFactory_Loader
)
41 TAO_END_VERSIONED_NAMESPACE_DECL