summaryrefslogtreecommitdiff
path: root/ACEXML/compass/Deployment.h
blob: 8c8473fffcb8bd864987b65f204d8c5df3a93a7c (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
40
41
42
43
// $Id$

#ifndef COMPASS_DEPLOYMENT_H
#define COMPASS_DEPLOYMENT_H

#include "ace/OS_String.h"
#include <vector>

// *************** Packaging and Deployment ***************

namespace Deployment
{
  typedef string UUID;
  typedef string Location;
  typedef unsigned long FailureReason;
  typedef string Cookie;

  enum AssemblyState
    {
      INACTIVE,
      INSERVICE
    };

  typedef string FeatureName;

  struct ConfigValue
  {
    FeatureName name;
    string value;
  };
  typedef vector<ConfigValue*> ConfigValues;

  struct UnknownImplId {};
  struct InvalidLocation {};
  struct InstallationFailure { FailureReason reason; };
  struct InvalidAssembly {};
  struct RemoveFailure { FailureReason reason; };

  struct ImplEntryPointNotFound {};

};

#endif /* COMPASS_DEPLOYMENT_H */