00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Adapter_Activator.h 00006 * 00007 * Adapter_Activator.h,v 1.5 2006/06/19 19:50:42 jwillemsen Exp 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 00045 Adapter_Activator (PortableServer::POAManager_ptr poa_manager); 00046 00047 CORBA::Boolean unknown_adapter (PortableServer::POA_ptr parent, 00048 const char *name 00049 ACE_ENV_ARG_DECL) 00050 ACE_THROW_SPEC ((CORBA::SystemException)); 00051 00052 protected: 00053 00054 /// POA Manager 00055 PortableServer::POAManager_var poa_manager_; 00056 }; 00057 } 00058 } 00059 00060 TAO_END_VERSIONED_NAMESPACE_DECL 00061 00062 #endif 00063 #endif /* TAO_HAS_MINIMUM_POA == 0 */ 00064 00065 #include /**/ "ace/post.h" 00066 #endif /* TAO_ADAPTER_ACTIVATOR_H */