summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/Deployment_ExecutionManager.idl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/ciao/Deployment_ExecutionManager.idl')
-rw-r--r--modules/CIAO/ciao/Deployment_ExecutionManager.idl52
1 files changed, 52 insertions, 0 deletions
diff --git a/modules/CIAO/ciao/Deployment_ExecutionManager.idl b/modules/CIAO/ciao/Deployment_ExecutionManager.idl
new file mode 100644
index 00000000000..39c2ba6053b
--- /dev/null
+++ b/modules/CIAO/ciao/Deployment_ExecutionManager.idl
@@ -0,0 +1,52 @@
+// $Id$
+#ifndef EXECUTIONMANAGER_IDL
+#define EXECUTIONMANAGER_IDL
+
+#include "ciao/Deployment.idl"
+#include "ciao/Deployment_DomainApplicationManager.idl"
+
+module Deployment {
+ interface ExecutionManager {
+ /// @todo ResourceCommitmentManger is missing
+ DomainApplicationManager preparePlan (in DeploymentPlan plan,
+ in boolean commitResources)
+ raises (ResourceNotAvailable, PlanError, StartError);
+
+ DomainApplicationManagers getManagers ();
+
+ void destroyManager (in DomainApplicationManager manager)
+ raises (StopError);
+
+ /// CIAO Specific extension
+ DomainApplicationManager getManager (in string plan_uuid)
+ raises (PlanNotExist);
+
+ /// CIAO specific extention
+ /// Destroy ApplicationManagers by plan_uuid, the unique semantics of this
+ /// operation lies in the fact that if some components are
+ /// still up and running, then the ApplicationManagers won't be destroyed.
+ void destroyManagerByPlan (in string plan_uuid)
+ raises (StopError);
+
+ /// CIAO specific extention
+ /// "Get" operation, return the DeploymentPlan
+ DeploymentPlan getPlan (in string plan_uuid);
+
+ /// CIAO specific operation to handle dynamic system redeployment
+ /// and reconfiguration
+ /// This operation could handle dynamic redeployment, and this
+ /// is the operation exposed to clients directly. Other
+ /// "perform_redeployment" operation defined on DAM and NA
+ /// are implementaion details within DAnCE.
+ void perform_redeployment (in DeploymentPlan new_plan)
+ raises (PlanError,
+ InstallationFailure,
+ UnknownImplId,
+ ImplEntryPointNotFound,
+ InvalidConnection,
+ InvalidProperty,
+ ::Components::RemoveFailure);
+ };
+};
+
+#endif /* EXECUTIONMANAGER_IDL */