summaryrefslogtreecommitdiff
path: root/DAnCE/tools/Artifact_Installation/DAnCE_Artifact_Installation_Handler.idl
blob: f6a25962ef4ffa83967d10a1d0be40dd971a306c (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
36
37
38
39
#ifndef DANCE_ARTIFACT_INSTALLATION_HANDLER_IDL
#define DANCE_ARTIFACT_INSTALLATION_HANDLER_IDL

#include "dance/Deployment/Deployment_PlanError.idl"

module DAnCE
{
  /// Each ArtifactInstallationHandler knows how to handle
  /// a single protocol.
  native ArtifactInstallationHandler;

  // the installation handlers are implemented as native
  // objects rather than CORBA objects
#if 0
  interface ArtifactInstallationHandler
  {
    readonly attribute string protocol_prefix;

    void initialize ()
      raises (::Deployment::PlanError);

    void clear ()
      raises (::Deployment::PlanError);

    // Install should mangle the URI in the location field to specify the
    // URI of the next resolution that need be attempted.
    void install (in string plan_uuid,
                  inout string location,
                  in property_map properties);
      raises (::Deployment::PlanError);

    void remove (in string plan_uuid,
                 in string location);
  };
#endif

};

#endif /* DANCE_ARTIFACT_INSTALLATION_HANDLER_IDL */