summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Object_Adapter_Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/Object_Adapter_Factory.h')
-rw-r--r--TAO/tao/PortableServer/Object_Adapter_Factory.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/Object_Adapter_Factory.h b/TAO/tao/PortableServer/Object_Adapter_Factory.h
new file mode 100644
index 00000000000..a51054f2060
--- /dev/null
+++ b/TAO/tao/PortableServer/Object_Adapter_Factory.h
@@ -0,0 +1,47 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Object_Adapter_Factory.h
+ *
+ * $Id$
+ *
+ * @author Irfan Pyarali
+ */
+//=============================================================================
+
+#ifndef TAO_OBJECT_ADAPTER_FACTORY_H
+#define TAO_OBJECT_ADAPTER_FACTORY_H
+
+#include /**/ "ace/pre.h"
+
+#include "portableserver_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Adapter_Factory.h"
+#include "ace/Service_Config.h"
+
+class TAO_PortableServer_Export TAO_Object_Adapter_Factory
+ : public TAO_Adapter_Factory
+{
+public:
+ /// Constructor
+ TAO_Object_Adapter_Factory (void);
+
+ // = The TAO_Adapter_Factory methods, please read tao/Adapter.h for
+ // details.
+ virtual TAO_Adapter *create (TAO_ORB_Core *orb_core);
+
+ virtual int init (int argc,
+ ACE_TCHAR* argv[]);
+};
+
+ACE_STATIC_SVC_DECLARE (TAO_Object_Adapter_Factory)
+ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_Object_Adapter_Factory)
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_OBJECT_ADAPTER_FACTORY_H */