ServerRequestInterceptor_Factory_Impl.cpp

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 // =================================================================
00004 /**
00005  * @file ServerRequestInterceptor_Factory_Impl.cpp
00006  *
00007  * ServerRequestInterceptor_Factory_Impl.cpp,v 1.5 2006/03/10 07:19:13 jtc Exp
00008  *
00009  * @author Johnny Willemsen  <jwillemsen@remedy.nl>
00010  *
00011  */
00012 // =================================================================
00013 
00014 #include "tao/PI_Server/ServerRequestInterceptor_Factory_Impl.h"
00015 
00016 #if TAO_HAS_INTERCEPTORS == 1
00017 
00018 #include "tao/PI_Server/ServerInterceptorAdapter.h"
00019 
00020 #include "tao/ORB.h"
00021 #include "tao/debug.h"
00022 
00023 ACE_RCSID (PI_Server,
00024            PolicyFactory_Loader,
00025            "ServerRequestInterceptor_Factory_Impl.cpp,v 1.5 2006/03/10 07:19:13 jtc Exp")
00026 
00027 
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029 
00030 TAO::ServerRequestInterceptor_Adapter*
00031 TAO_ServerRequestInterceptor_Adapter_Factory_Impl::create (void)
00032 {
00033   TAO::ServerRequestInterceptor_Adapter_Impl* obj = 0;
00034   ACE_NEW_RETURN (obj,
00035                   TAO::ServerRequestInterceptor_Adapter_Impl ,
00036                   0);
00037   return obj;
00038 }
00039 
00040 TAO_END_VERSIONED_NAMESPACE_DECL
00041 
00042 ACE_STATIC_SVC_DEFINE (TAO_ServerRequestInterceptor_Adapter_Factory_Impl,
00043                        ACE_TEXT ("ServerRequestInterceptor_Adapter_Factory"),
00044                        ACE_SVC_OBJ_T,
00045                        &ACE_SVC_NAME (TAO_ServerRequestInterceptor_Adapter_Factory_Impl),
00046                        ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00047                        0)
00048 ACE_FACTORY_DEFINE (TAO_PI_Server, TAO_ServerRequestInterceptor_Adapter_Factory_Impl)
00049 
00050 #endif  /* TAO_HAS_INTERCEPTORS */

Generated on Thu Nov 9 12:54:00 2006 for TAO_PI_Server by doxygen 1.3.6