summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/Deployment/Deployment_ApplicationManager.idl
blob: 215eb31f6038c2c477b90dc99a76a70eeb519a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// $Id$
// Compliant with OMG 06-04-01 section 15

#ifndef DEPLOYMENT_APPLICATIONMANAGER_IDL
#define DEPLOYMENT_APPLICATIONMANAGER_IDL

#include "DAnCE/Deployment/Deployment.idl"
#include "DAnCE/Deployment/Deployment_Application.idl"
#include "DAnCE/Deployment/Deployment_Connection.idl"

module Deployment {

  exception ResourceNotAvailable {
    string name;
    string resourceType;
    string propertyName;
    string elementName;
    string resourceName;
  };

  interface ApplicationManager {
    Application startLaunch (in Properties configProperty,
                             out Connections providedReference)
      raises (ResourceNotAvailable,
              StartError,
              InvalidProperty,
              InvalidNodeExecParameter,
              InvalidComponentExecParameter);

    void destroyApplication (in Application app)
      raises (StopError);
  };
};

#endif /* DEPLOYMENT_APPLICATIONMANAGER_IDL */