Go to the documentation of this file.00001
00002
00003 #include "tao/IORInterceptor/IORInterceptor_Adapter_Impl.h"
00004 #include "tao/IORInterceptor/IORInterceptor_Adapter_Factory_Impl.h"
00005
00006 #include "tao/ORB_Core.h"
00007
00008 ACE_RCSID (IORInterceptor,
00009 IORInterceptor_Adapter_Factory_Impl,
00010 "$Id: IORInterceptor_Adapter_Factory_Impl.cpp 76995 2007-02-11 12:51:42Z johnnyw $")
00011
00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00013
00014 TAO_IORInterceptor_Adapter_Factory_Impl::~
00015 TAO_IORInterceptor_Adapter_Factory_Impl (void)
00016 {
00017 }
00018
00019 TAO_IORInterceptor_Adapter *
00020 TAO_IORInterceptor_Adapter_Factory_Impl::create (void)
00021 {
00022 TAO_IORInterceptor_Adapter_Impl *nia = 0;
00023 ACE_NEW_THROW_EX (nia,
00024 TAO_IORInterceptor_Adapter_Impl (),
00025 CORBA::NO_MEMORY ());
00026
00027 return nia;
00028 }
00029
00030
00031
00032
00033
00034
00035 int
00036 TAO_IORInterceptor_Adapter_Factory_Impl::Initializer (void)
00037 {
00038 TAO_ORB_Core::iorinterceptor_adapter_factory_name (
00039 "Concrete_IORInterceptor_Adapter_Factory");
00040
00041 return
00042 ACE_Service_Config::process_directive (
00043 ace_svc_desc_TAO_IORInterceptor_Adapter_Factory_Impl);
00044 }
00045
00046 TAO_END_VERSIONED_NAMESPACE_DECL
00047
00048 ACE_STATIC_SVC_DEFINE (
00049 TAO_IORInterceptor_Adapter_Factory_Impl,
00050 ACE_TEXT ("Concrete_IORInterceptor_Adapter_Factory"),
00051 ACE_SVC_OBJ_T,
00052 &ACE_SVC_NAME (TAO_IORInterceptor_Adapter_Factory_Impl),
00053 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00054 0
00055 )
00056
00057 ACE_FACTORY_DEFINE (TAO_IORInterceptor, TAO_IORInterceptor_Adapter_Factory_Impl)
00058