diff options
Diffstat (limited to 'CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl')
-rw-r--r-- | CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl b/CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl new file mode 100644 index 00000000000..070b6a99100 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl @@ -0,0 +1,63 @@ +// $Id$ +#ifndef EXECUTIONMANAGER_IDL +#define EXECUTIONMANAGER_IDL + +#include "DAnCE/Deployment/Deployment.idl" +#include "DAnCE/Deployment/Deployment_DomainApplicationManager.idl" + +module Deployment { + // @@changed + // interface ExecutionManager + // { + // DomainApplicationManager preparePlan (in DeploymentPlan plan, + // in ResourceCommitmentManager resourceCommitment) + // raises (ResourceNotAvailable, PlanError, StartError); + // DomainApplicationManagers getManagers (); + // void destroyManager (in DomainApplicationManager manager) + // raises (StopError); + // }; + + 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 */ |