summaryrefslogtreecommitdiff
path: root/DAnCE/dance/Plan_Launcher/LM_Launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DAnCE/dance/Plan_Launcher/LM_Launcher.cpp')
-rw-r--r--DAnCE/dance/Plan_Launcher/LM_Launcher.cpp67
1 files changed, 0 insertions, 67 deletions
diff --git a/DAnCE/dance/Plan_Launcher/LM_Launcher.cpp b/DAnCE/dance/Plan_Launcher/LM_Launcher.cpp
deleted file mode 100644
index 454c269eae3..00000000000
--- a/DAnCE/dance/Plan_Launcher/LM_Launcher.cpp
+++ /dev/null
@@ -1,67 +0,0 @@
-#include "LM_Launcher.h"
-
-namespace DAnCE
-{
- LM_Launcher::LM_Launcher (CORBA::ORB_ptr orb,
- __Base::Manager_ptr manager)
- : __Base (orb, manager)
- {
- }
-
- LM_Launcher::~LM_Launcher (void)
- {
- }
-
- /*
- bool
- LM_Launcher::lookup_by_uuid (const char *uuid,
- CORBA::Object_out am,
- CORBA::Object_out app)
- {
- DANCE_TRACE ("LM_Launcher::lookup_by_uuid");
-
- try
- {
- ::Deployment::ApplicationManagers_var managers = this->manager_->getManagers ();
-
- for (CORBA::ULong i = 0; i < managers->length (); ++i)
- {
- ::Deployment::DeploymentPlan_var plan (managers[i]->getPlan ());
- ACE_CString plan_uuid (plan->UUID.in ());
- if (plan_uuid == uuid)
- {
- am = CORBA::Object::_duplicate (managers[i]);
-
- ::Deployment::Applications_var apps = managers[i]->getApplications ();
-
- if (apps->length () != 0)
- {
- app = CORBA::Object::_duplicate ((*apps)[0]);
- return true;
- }
- else return false;
- }
- }
- }
- catch (const CORBA::Exception &ex)
- {
- DANCE_ERROR (DANCE_LOG_TERMINAL_ERROR,
- (LM_ERROR, DLINFO
- ACE_TEXT ("LM_Launcher::lookup_by_uuid - ")
- ACE_TEXT ("Caught CORBA Exception: %C\n"),
- ex._info ().c_str ()));
- throw Deployment_Failure (ex._info ());
- }
- catch (...)
- {
- DANCE_ERROR (DANCE_LOG_TERMINAL_ERROR,
- (LM_ERROR, DLINFO
- ACE_TEXT ("LM_Launcher::lookup_by_uuid - ")
- ACE_TEXT ("Unknown C++ exception\n")));
- throw Deployment_Failure ("Unknown C++ exception in lookup_by_uuid\n");
- }
-
- return false;
- }
- */
-}