summaryrefslogtreecommitdiff
path: root/cpp/src/IceBox/ServiceManagerI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceBox/ServiceManagerI.cpp')
-rw-r--r--cpp/src/IceBox/ServiceManagerI.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp/src/IceBox/ServiceManagerI.cpp b/cpp/src/IceBox/ServiceManagerI.cpp
index e75dd7fee26..8f8dd794376 100644
--- a/cpp/src/IceBox/ServiceManagerI.cpp
+++ b/cpp/src/IceBox/ServiceManagerI.cpp
@@ -245,6 +245,20 @@ IceBox::ServiceManagerI::start()
//
}
}
+
+ //
+ // Register "this" as a facet to the Admin object
+ //
+ try
+ {
+ _communicator->addAdminFacet(this, "IceBox.ServiceManager");
+ }
+ catch(const CommunicatorDestroyedException&)
+ {
+ //
+ // Ignored
+ //
+ }
}
catch(const FailureException& ex)
{