00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Adapter_Activator.h 00006 * 00007 * $Id: Adapter_Activator.h 79124 2007-07-31 12:39:37Z johnnyw $ 00008 */ 00009 //============================================================================= 00010 00011 #ifndef TAO_ADAPTER_ACTIVATOR_H 00012 #define TAO_ADAPTER_ACTIVATOR_H 00013 #include /**/ "ace/pre.h" 00014 00015 #include "tao/PortableServer/portableserver_export.h" 00016 00017 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00018 # pragma once 00019 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00020 00021 #include "tao/PortableServer/AdapterActivatorC.h" 00022 00023 #if (TAO_HAS_MINIMUM_POA == 0) 00024 #if !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 namespace PortableServer 00029 { 00030 class POAManager; 00031 00032 typedef POAManager *POAManager_ptr; 00033 typedef TAO_Objref_Var_T<POAManager> POAManager_var; 00034 } 00035 00036 namespace TAO 00037 { 00038 namespace Portable_Server 00039 { 00040 class TAO_PortableServer_Export Adapter_Activator 00041 : public PortableServer::AdapterActivator 00042 { 00043 public: 00044 Adapter_Activator (PortableServer::POAManager_ptr poa_manager); 00045 00046 CORBA::Boolean unknown_adapter (PortableServer::POA_ptr parent, 00047 const char *name); 00048 00049 protected: 00050 00051 /// POA Manager 00052 PortableServer::POAManager_var poa_manager_; 00053 }; 00054 } 00055 } 00056 00057 TAO_END_VERSIONED_NAMESPACE_DECL 00058 00059 #endif 00060 #endif /* TAO_HAS_MINIMUM_POA == 0 */ 00061 00062 #include /**/ "ace/post.h" 00063 #endif /* TAO_ADAPTER_ACTIVATOR_H */