CIAO::DomainApplicationManager_AMI_Impl Class Reference

A subclass of the DomainApplicationManager_Impl servant which uses AMI mechanism to handle deployment. More...

#include <DomainApplicationManager_AMI_Impl.h>

Inheritance diagram for CIAO::DomainApplicationManager_AMI_Impl:

Inheritance graph
[legend]
Collaboration diagram for CIAO::DomainApplicationManager_AMI_Impl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DomainApplicationManager_AMI_Impl (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, Deployment::TargetManager_ptr manager, Execution_Manager::Execution_Manager_Impl *em, const Deployment::DeploymentPlan &plan, const char *deployment_file)
 Constructor.
virtual void startLaunch (Deployment::AMH_DomainApplicationManagerResponseHandler_ptr _tao_rh, const ::Deployment::Properties &configProperty,::CORBA::Boolean start)
void post_ami_startLaunch (void)
void decrease_start_launch_reply_count (void)
int start_launch_reply_count (void)

Private Types

typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, AMI_NAM_Handler,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex
AMI_NAM_Handler_Table
typedef AMI_NAM_Handler_Table::iterator AMI_NAM_Handler_Table_Iterator

Private Member Functions

 DomainApplicationManager_AMI_Impl (const DomainApplicationManager_AMI_Impl &)
 Disable copy assignment.

Private Attributes

AMI_NAM_Handler_Table ami_nam_handler_table_
 A table to trace the AMI reply handler.
volatile int start_launch_reply_count_
 AMI reply count.
Deployment::AMH_DomainApplicationManagerResponseHandler_var amh_response_handler_
 Object reference of the AMH response handler.
ACE_Vector< PortableServer::ObjectId_varrh_oid_
 Object ID of the AMH response handler.

Classes

struct  AMI_NAM_Handler

Detailed Description

A subclass of the DomainApplicationManager_Impl servant which uses AMI mechanism to handle deployment.


Member Typedef Documentation

typedef ACE_Hash_Map_Manager_Ex<ACE_CString, AMI_NAM_Handler, ACE_Hash<ACE_CString>, ACE_Equal_To<ACE_CString>, ACE_Null_Mutex> CIAO::DomainApplicationManager_AMI_Impl::AMI_NAM_Handler_Table [private]

typedef AMI_NAM_Handler_Table::iterator CIAO::DomainApplicationManager_AMI_Impl::AMI_NAM_Handler_Table_Iterator [private]


Constructor & Destructor Documentation

CIAO::DomainApplicationManager_AMI_Impl::DomainApplicationManager_AMI_Impl ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
Deployment::TargetManager_ptr  manager,
Execution_Manager::Execution_Manager_Impl em,
const Deployment::DeploymentPlan plan,
const char *  deployment_file 
)

Constructor.

CIAO::DomainApplicationManager_AMI_Impl::DomainApplicationManager_AMI_Impl ( const DomainApplicationManager_AMI_Impl  )  [private]

Disable copy assignment.


Member Function Documentation

void CIAO::DomainApplicationManager_AMI_Impl::decrease_start_launch_reply_count ( void   ) 

void CIAO::DomainApplicationManager_AMI_Impl::post_ami_startLaunch ( void   ) 

This operation will be called after *all* the AMI callbacks are received

int CIAO::DomainApplicationManager_AMI_Impl::start_launch_reply_count ( void   ) 

void CIAO::DomainApplicationManager_AMI_Impl::startLaunch ( Deployment::AMH_DomainApplicationManagerResponseHandler_ptr  _tao_rh,
const ::Deployment::Properties configProperty,
::CORBA::Boolean  start 
) [virtual]

Executes the application, but does not start it yet. Users can optionally provide launch-time configuration properties to override properties that are part of the plan. Raises the InvalidProperty exception if a configuration property is invalid. Raises the StartError exception if an error occurs during launching. Raises the ResourceNotAvailable exception if the commitResources parameter to the prepare operation of the ExecutionManager was true, if late resource allocation is used, and one of the requested resources is not available.

Reimplemented from CIAO::DomainApplicationManager_AMH_Impl.


Member Data Documentation

Deployment::AMH_DomainApplicationManagerResponseHandler_var CIAO::DomainApplicationManager_AMI_Impl::amh_response_handler_ [private]

Object reference of the AMH response handler.

AMI_NAM_Handler_Table CIAO::DomainApplicationManager_AMI_Impl::ami_nam_handler_table_ [private]

A table to trace the AMI reply handler.

ACE_Vector<PortableServer::ObjectId_var> CIAO::DomainApplicationManager_AMI_Impl::rh_oid_ [private]

Object ID of the AMH response handler.

volatile int CIAO::DomainApplicationManager_AMI_Impl::start_launch_reply_count_ [private]

AMI reply count.


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 23:46:50 2007 for DAnCE by  doxygen 1.4.7-1