summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/PI/ClientRequestInterceptor_Factory_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/PI/ClientRequestInterceptor_Factory_Impl.cpp')
-rw-r--r--ACE/TAO/tao/PI/ClientRequestInterceptor_Factory_Impl.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/ACE/TAO/tao/PI/ClientRequestInterceptor_Factory_Impl.cpp b/ACE/TAO/tao/PI/ClientRequestInterceptor_Factory_Impl.cpp
new file mode 100644
index 00000000000..6fe13dd9284
--- /dev/null
+++ b/ACE/TAO/tao/PI/ClientRequestInterceptor_Factory_Impl.cpp
@@ -0,0 +1,50 @@
+// -*- C++ -*-
+
+// =================================================================
+/**
+ * @file ClientRequestInterceptor_Factory_Impl.cpp
+ *
+ * $Id$
+ *
+ * @author Johnny Willemsen <jwillemsen@remedy.nl>
+ *
+ */
+// =================================================================
+
+#include "tao/PI/ClientRequestInterceptor_Factory_Impl.h"
+
+#if TAO_HAS_INTERCEPTORS == 1
+
+#include "tao/PI/ClientRequestInterceptor_Adapter_Impl.h"
+
+#include "tao/ORB.h"
+#include "tao/debug.h"
+
+ACE_RCSID (PI,
+ ClientRequestInterceptor_Factory_Impl,
+ "$Id$")
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+TAO::ClientRequestInterceptor_Adapter*
+TAO_ClientRequestInterceptor_Adapter_Factory_Impl::create (void)
+{
+ TAO::ClientRequestInterceptor_Adapter_Impl* obj = 0;
+ ACE_NEW_RETURN (obj,
+ TAO::ClientRequestInterceptor_Adapter_Impl ,//(interceptors, invocation),
+ 0);
+ return obj;
+}
+
+
+ACE_STATIC_SVC_DEFINE (TAO_ClientRequestInterceptor_Adapter_Factory_Impl,
+ ACE_TEXT ("ClientRequestInterceptor_Adapter_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_ClientRequestInterceptor_Adapter_Factory_Impl),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)
+ACE_FACTORY_DEFINE (TAO_PI, TAO_ClientRequestInterceptor_Adapter_Factory_Impl)
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#endif /* TAO_HAS_INTERCEPTORS == 1 */