Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / ACE / ace / Monitor_Admin_Manager.cpp
blob86bb54817ec9a3eef8cf212a8761524458f89cc5
1 #include "ace/Monitor_Admin_Manager.h"
3 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
5 #include "ace/Service_Config.h"
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 namespace ACE
11 namespace Monitor_Control
13 Monitor_Admin&
14 Monitor_Admin_Manager::admin ()
16 return this->admin_;
19 int
20 Monitor_Admin_Manager::Initializer ()
22 return
23 ACE_Service_Config::process_directive (ace_svc_desc_MC_ADMINMANAGER);
28 ACE_END_VERSIONED_NAMESPACE_DECL
30 ACE_STATIC_SVC_DEFINE (MC_ADMINMANAGER,
31 ACE_TEXT ("MC_ADMINMANAGER"),
32 ACE_SVC_OBJ_T,
33 &ACE_SVC_NAME (MC_ADMINMANAGER),
34 ACE_Service_Type::DELETE_THIS
35 | ACE_Service_Type::DELETE_OBJ,
37 ACE_FACTORY_DEFINE (ACE, MC_ADMINMANAGER)
39 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */