Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / Object_Adapter_Factory.h
blob80e05802d96fd72b9d2452000c90d7cacc4fcafc
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Object_Adapter_Factory.h
7 * @author Irfan Pyarali
8 */
9 //=============================================================================
11 #ifndef TAO_OBJECT_ADAPTER_FACTORY_H
12 #define TAO_OBJECT_ADAPTER_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PortableServer/portableserver_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Adapter_Factory.h"
23 #include "ace/Service_Config.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 class TAO_PortableServer_Export TAO_Object_Adapter_Factory
28 : public TAO_Adapter_Factory
30 public:
31 // = The TAO_Adapter_Factory methods, please read tao/Adapter.h for
32 // details.
33 virtual TAO_Adapter *create (TAO_ORB_Core *orb_core);
36 ACE_STATIC_SVC_DECLARE (TAO_Object_Adapter_Factory)
37 ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_Object_Adapter_Factory)
39 TAO_END_VERSIONED_NAMESPACE_DECL
41 #include /**/ "ace/post.h"
43 #endif /* TAO_OBJECT_ADAPTER_FACTORY_H */