// Copyright 2005, 2006 THALES, SELEX Sistemi Integrati (SI), // Themis Computer and Progeny Systems Corporation. #include "AMS_Util.idl" #include "AMS_CIM.idl" #ifndef _AMS_ApplicationDeploymentSpecification_IDL_ #define _AMS_ApplicationDeploymentSpecification_IDL_ #pragma prefix "omg.org" #include "AMS_LogicalHardware.idl" #include "AMS_LogicalHardwareSpecification.idl" #include "AMS_ApplicationSpecification.idl" module AMS_ApplicationDeployment { interface AMS_DeploymentConfiguration; typedef sequence AMS_DeploymentConfigurationList; interface AMS_DeploymentConfigurationListIterator; }; module AMS_ApplicationDeploymentSpecification { // const string AMS_DeploymentLinkSpec_CLASSID = "IDL:omg.org/AMS_ApplicationDeploymentSpecification/AMS_DeploymentLinkSpec:1.0"; interface AMS_DeploymentLinkSpec ; typedef sequence AMS_DeploymentLinkSpecList; interface AMS_DeploymentLinkSpecListIterator : AMS_Util::AMS_Iterator { AMS_DeploymentLinkSpec GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_DeploymentSpec_CLASSID = "IDL:omg.org/AMS_ApplicationDeploymentSpecification/AMS_DeploymentSpec:1.0"; interface AMS_DeploymentSpec ; typedef sequence AMS_DeploymentSpecList; interface AMS_DeploymentSpecListIterator : AMS_Util::AMS_Iterator { AMS_DeploymentSpec GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // struct AMS_ActionOnLink { AMS_ApplicationSpecification::AMS_ActionCheckCase _Case; }; // interface AMS_DeploymentLinkSpec : AMS_CIM::CIM_LogicalElement { readonly attribute AMS_LogicalHardwareSpecification::AMS_ConfigurationSpecification ConfSpecDLS; readonly attribute AMS_ApplicationSpecification::AMS_ESESpec SEDeployed; AMS_LogicalHardware::AMS_HostListIterator GetHostUsedIterator ( ); readonly attribute AMS_LogicalHardware::AMS_HostList HostUsed; readonly attribute AMS_DeploymentLinkSpec DeploymentLinkDependency; readonly attribute AMS_DeploymentSpec Owner; // association class readonly attribute AMS_CIM::CIM_Action ActionOnLink; AMS_CIM::CIM_Action GetActionOnLink ( in AMS_ApplicationSpecification::AMS_ActionCheckCase state ); // AMS_LogicalHardware::AMS_OperatingSystemListIterator GetOSUsedIterator ( ); readonly attribute AMS_LogicalHardware::AMS_OperatingSystemList OSUsed; attribute string LinkID; }; // interface AMS_DeploymentSpec : AMS_CIM::CIM_LogicalElement { AMS_ApplicationDeployment::AMS_DeploymentConfigurationListIterator GetDeploymentSpecAssocIterator ( ); readonly attribute AMS_ApplicationDeployment::AMS_DeploymentConfigurationList DeploymentSpecAssoc; AMS_DeploymentLinkSpecListIterator GetDeploymentSpecLinksIterator ( ); readonly attribute AMS_DeploymentLinkSpecList DeploymentSpecLinks; attribute string Name; void Deploy ( ) raises (AMS_Util::AMS_Error); }; }; #endif /* _AMS_ApplicationDeploymentSpecification_IDL_ */