// Copyright 2005, 2006 THALES, SELEX Sistemi Integrati (SI), // Themis Computer and Progeny Systems Corporation. #include "AMS_Util.idl" #include "AMS_CIM.idl" #ifndef _AMS_ApplicationSpecification_IDL_ #define _AMS_ApplicationSpecification_IDL_ #pragma prefix "omg.org" #include "AMS_SupportedApplicationModel.idl" module AMS_ApplicationSpecification { // enum AMS_TypeOfFeature { SYSTEM, APPLICATION, REDUNDANCY_GROUP, LOADBALANCING_GROUP }; typedef sequence AMS_TypeOfFeatureList; // enum AMS_ActionCheckCase { CASE_PRE_DEPLOY, CASE_DEPLOY, CASE_POST_DEPLOY, CASE_PRE_START, CASE_START, CASE_POST_START, CASE_PRE_STOP, CASE_STOP, CASE_POST_STOP, CASE_ALTERNATE_SHUTDOWN }; typedef sequence AMS_ActionCheckCaseList; // enum AMS_RedundancyEltState { REDSTATE_NORG, REDSTATE_PRIMARY, REDSTATE_PASSIVE }; typedef sequence AMS_RedundancyEltStateList; // const string AMS_SoftwareFeatureSpec_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_SoftwareFeatureSpec:1.0"; interface AMS_SoftwareFeatureSpec ; typedef sequence AMS_SoftwareFeatureSpecList; interface AMS_SoftwareFeatureSpecListIterator : AMS_Util::AMS_Iterator { AMS_SoftwareFeatureSpec GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_ESESpec_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_ESESpec:1.0"; interface AMS_ESESpec ; typedef sequence AMS_ESESpecList; interface AMS_ESESpecListIterator : AMS_Util::AMS_Iterator { AMS_ESESpec GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_ExecuteProgram_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_ExecuteProgram:1.0"; interface AMS_ExecuteProgram ; typedef sequence AMS_ExecuteProgramList; interface AMS_ExecuteProgramListIterator : AMS_Util::AMS_Iterator { AMS_ExecuteProgram GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_MechanizedAction_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_MechanizedAction:1.0"; interface AMS_MechanizedAction ; typedef sequence AMS_MechanizedActionList; interface AMS_MechanizedActionListIterator : AMS_Util::AMS_Iterator { AMS_MechanizedAction GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_Property_StdMechanism_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_Property_StdMechanism:1.0"; interface AMS_Property_StdMechanism; typedef sequence AMS_Property_StdMechanismList; interface AMS_Property_StdMechanismListIterator : AMS_Util::AMS_Iterator { AMS_Property_StdMechanism GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // struct AMS_SEShutdownDependency { AMS_Util::AMS_uint16 TimeSinceShutdown; }; // struct AMS_SEStartTimeDependency { AMS_Util::AMS_uint16 TimeSinceStartup; }; // struct AMS_SEStartCPUDependency { AMS_Util::AMS_uint16 CPUload; }; // const string AMS_CCMDeploy_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_CCMDeploy:1.0"; interface AMS_CCMDeploy ; typedef sequence AMS_CCMDeployList; interface AMS_CCMDeployListIterator: AMS_Util::AMS_Iterator { AMS_CCMDeploy GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_CCMStart_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_CCMStart:1.0"; interface AMS_CCMStart ; typedef sequence AMS_CCMStartList; interface AMS_CCMStartListIterator: AMS_Util::AMS_Iterator { AMS_CCMStart GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_CCMStop_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_CCMStop:1.0"; interface AMS_CCMStop; typedef sequence AMS_CCMStopList; interface AMS_CCMStopListIterator: AMS_Util::AMS_Iterator { AMS_CCMStop GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_J2EEDeploy_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_J2EEDeploy:1.0"; interface AMS_J2EEDeploy; typedef sequence AMS_J2EEDeployList; interface AMS_J2EEDeployListIterator: AMS_Util::AMS_Iterator { AMS_J2EEDeploy GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_J2EEStart_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_J2EEStart:1.0"; interface AMS_J2EEStart ; typedef sequence AMS_J2EEStartList; interface AMS_J2EEStartListIterator: AMS_Util::AMS_Iterator { AMS_J2EEStart GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_J2EEStop_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_J2EEStop:1.0"; interface AMS_J2EEStop; typedef sequence AMS_J2EEStopList; interface AMS_J2EEStopListIterator: AMS_Util::AMS_Iterator { AMS_J2EEStop GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // const string AMS_SecurityCheck_CLASSID = "IDL:omg.org/AMS_ApplicationSpecification/AMS_SecurityCheck:1.0"; interface AMS_SecurityCheck; typedef sequence AMS_SecurityCheckList; interface AMS_ SecurityCheckListIterator: AMS_Util::AMS_Iterator { AMS_SecurityCheck GetCurrentItem () raises (AMS_Util::AMS_NoSuchElementException); }; // interface AMS_SoftwareFeatureSpec : AMS_CIM::CIM_SoftwareFeature { readonly attribute AMS_SoftwareFeatureSpec Owner; AMS_SoftwareFeatureSpecListIterator GetFeatureOfFeatureIterator ( ); readonly attribute AMS_SoftwareFeatureSpecList FeatureOfFeature; AMS_ESESpecListIterator GetSoftwareFeatureSoftwareElementIterator ( ); readonly attribute AMS_ESESpecList SoftwareFeatureSoftwareElement; attribute AMS_TypeOfFeature TypeOfFeature; // association class AMS_CIM::CIM_CheckListIterator GetSoftwareFeatureCheckIterator ( ); readonly attribute AMS_CIM::CIM_CheckList SoftwareFeatureCheck; AMS_CIM::CIM_CheckList GetSoftwareFeatureCheckOnCase ( in AMS_ActionCheckCase state); AMS_CIM::CIM_CheckListIterator GetSoftwareFeatureCheckIteratorOnCase ( in AMS_ActionCheckCase state); // association class AMS_CIM::CIM_ActionListIterator GetSoftwareFeatureActionIterator ( ); readonly attribute AMS_CIM::CIM_ActionList SoftwareFeatureAction; AMS_CIM::CIM_ActionList GetSoftwareFeatureAction ( in AMS_ActionCheckCase state); AMS_CIM::CIM_ActionListIterator GetSoftwareFeatureActionIteratorOnCase ( in AMS_ActionCheckCase state); // attribute string Name; }; // interface AMS_ESESpec : AMS_CIM::CIM_SoftwareElement { readonly attribute AMS_SoftwareFeatureSpec Owner; attribute AMS_SAM::AMS_ModelType ModelType; // association class AMS_ESESpecListIterator GetSEStartDependencyIterator ( ); readonly attribute AMS_ESESpecList SEStartDependency; AMS_ESESpecList GetSEStartCPUDependencyOnCase ( in AMS_SEStartCPUDependency state ); AMS_ESESpecListIterator GetSEStartCPUDependencyIteratorOnCase ( in AMS_SEStartCPUDependency state ); AMS_ESESpecList GetSEStartTimeDependencyOnCase ( in AMS_SEStartTimeDependency state ); AMS_ESESpecListIterator GetSEStartTimeDependencyIteratorOnCase ( in AMS_SEStartTimeDependency state ); // association class AMS_CIM::CIM_CheckListIterator GetSoftwareElementCheckIterator ( ); readonly attribute AMS_CIM::CIM_CheckList SoftwareElementCheck; AMS_CIM::CIM_CheckList GetSoftwareElementCheckOnCase ( in AMS_ActionCheckCase state ); AMS_CIM::CIM_CheckListIterator GetSoftwareElementCheckIteratorOnCase ( in AMS_ActionCheckCase state ); // association class AMS_CIM::CIM_ActionListIterator GetSoftwareElementActionIterator ( ); readonly attribute AMS_CIM::CIM_ActionList SoftwareElementAction; AMS_CIM::CIM_ActionList GetSoftwareElementActionOnCase ( in AMS_ActionCheckCase state); AMS_CIM::CIM_ActionListIterator GetSoftwareElementActionIteratorOnCase ( in AMS_ActionCheckCase state); // attribute AMS_RedundancyEltState RedInitState; // association class AMS_ESESpecListIterator GetSEShutdownDependencyIterator ( ); readonly attribute AMS_ESESpecList SEShutdownDependency; AMS_ESESpecList GetSEShutdownDependencyOnCase ( in AMS_SEShutdownDependency state ); AMS_ESESpecListIterator GetSEShutdownDependencyIteratorOnCase ( in AMS_SEShutdownDependency state ); // attribute string Name; attribute string SoftwareElementID; }; // interface AMS_ApplicationModelCheck : AMS_CIM::CIM_Check { readonly attribute AMS_SAM::AMS_SupportedApplicationModel SAMCheck; }; // interface AMS_SecurityCheck : AMS_CIM::CIM_Check { }; // interface AMS_ExecuteProgram : AMS_CIM::CIM_ExecuteProgram { attribute string Environment; }; // interface AMS_CCMDeploy: AMS_CIM::CIM_Action { attribute string ComponentPackageDescriptor; }; // interface AMS_CCMStart: AMS_CIM::CIM_Action { }; // interface AMS_CCMStop: AMS_CIM::CIM_Action { }; // interface AMS_J2EEDeploy: AMS_CIM::CIM_Action { attribute string EnterpriseArchive; }; // interface AMS_J2EEStart: AMS_CIM::CIM_Action { }; // interface AMS_J2EEStop: AMS_CIM::CIM_Action { }; // interface AMS_Property_StdMechanism { attribute string Name; attribute string Value; attribute string InstanceID; attribute AMS_SAM::AMS_StdMechanism StdName; }; // interface AMS_MechanizedAction: AMS_CIM::CIM_Action { attribute AMS_Property_StdMechanism ActionMechanism; }; }; #endif /* _AMS_ApplicationSpecification_IDL_ */