Go to the documentation of this file.00001 #include "tao/Compression/Compression.h"
00002 #include "tao/Compression/Compression_Manager.h"
00003 #include "tao/debug.h"
00004
00005 ACE_RCSID (Compression,
00006 Compression,
00007 "$Id: Compression.cpp 82351 2008-07-22 08:15:32Z johnnyw $")
00008
00009 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00010
00011 CORBA::Object_ptr
00012 TAO_Compression_Loader::create_object (CORBA::ORB_ptr, int, ACE_TCHAR *[])
00013 {
00014 CORBA::Object_ptr obj = CORBA::Object::_nil ();
00015 ACE_NEW_RETURN (obj,
00016 TAO::CompressionManager (),
00017 CORBA::Object::_nil ());
00018 return obj;
00019 }
00020
00021
00022 int
00023 TAO_Compression_Loader::Initializer (void)
00024 {
00025 return ACE_Service_Config::process_directive (
00026 ace_svc_desc_TAO_Compression_Loader);
00027 }
00028
00029 TAO_END_VERSIONED_NAMESPACE_DECL
00030
00031 ACE_STATIC_SVC_DEFINE (TAO_Compression_Loader,
00032 ACE_TEXT ("Compression_Loader"),
00033 ACE_SVC_OBJ_T,
00034 &ACE_SVC_NAME (TAO_Compression_Loader),
00035 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00036 0)
00037
00038 ACE_FACTORY_DEFINE (TAO_Compression, TAO_Compression_Loader)