This class launches and manages deployment plans. More...
#include <Plan_Launcher_Base_Impl_T.h>
Public Member Functions | |
Plan_Launcher_Base_Impl (CORBA::ORB_ptr orb, Manager_ptr manager) | |
virtual | ~Plan_Launcher_Base_Impl () |
virtual const char * | launch_plan (const ::Deployment::DeploymentPlan &plan, CORBA::Object_out am, CORBA::Object_out app) |
Launch a plan, given an IDL deployment plan. | |
virtual CORBA::Object_ptr | prepare_plan (const ::Deployment::DeploymentPlan &plan) |
virtual CORBA::Object_ptr | start_launch (CORBA::Object_ptr app_mgr, const ::Deployment::Properties &properties,::Deployment::Connections_out connections) |
Invokes startLaunch on the provided ApplicationManager reference. | |
virtual void | finish_launch (CORBA::Object_ptr app, const ::Deployment::Connections &provided_connections, bool start) |
Invokes finishLaunch on the provided Application reference. | |
virtual void | start (CORBA::Object_ptr application) |
Invokes start on the provided application reference. | |
virtual void | teardown_application (CORBA::Object_ptr app_mgr, CORBA::Object_ptr app) |
Tears down a plan given the UUID. | |
virtual void | destroy_app_manager (CORBA::Object_ptr) |
Instructs the Manager to destroy the ApplicationManager. | |
virtual void | create_external_connections (const ::Deployment::DeploymentPlan &plan, Deployment::Connections &conn) |
Helper method to resolve externalReference endpoints into valid object references. | |
Protected Types | |
typedef Manager::_ptr_type | Manager_ptr |
typedef Manager::_var_type | Manager_var |
typedef AppManager::_ptr_type | AppManager_ptr |
typedef AppManager::_var_type | AppManager_var |
typedef Application::_ptr_type | Application_ptr |
typedef Application::_var_type | Application_var |
Protected Attributes | |
CORBA::ORB_var | orb_ |
Cached ORB pointer. | |
Manager_var | manager_ |
Object reference of the Manager. |
This class launches and manages deployment plans.
typedef Application::_ptr_type DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::Application_ptr [protected] |
typedef Application::_var_type DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::Application_var [protected] |
typedef AppManager::_ptr_type DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::AppManager_ptr [protected] |
typedef AppManager::_var_type DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::AppManager_var [protected] |
typedef Manager::_ptr_type DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::Manager_ptr [protected] |
typedef Manager::_var_type DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::Manager_var [protected] |
DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::Plan_Launcher_Base_Impl | ( | CORBA::ORB_ptr | orb, | |
Manager_ptr | manager | |||
) |
DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::~Plan_Launcher_Base_Impl | ( | ) | [virtual] |
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::create_external_connections | ( | const ::Deployment::DeploymentPlan & | plan, | |
Deployment::Connections & | conn | |||
) | [virtual] |
Helper method to resolve externalReference endpoints into valid object references.
Implements DAnCE::Plan_Launcher_Base.
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::destroy_app_manager | ( | CORBA::Object_ptr | app_mgr | ) | [virtual] |
Instructs the Manager to destroy the ApplicationManager.
Implements DAnCE::Plan_Launcher_Base.
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::finish_launch | ( | CORBA::Object_ptr | application, | |
const ::Deployment::Connections & | provided_connections, | |||
bool | start | |||
) | [virtual] |
Invokes finishLaunch on the provided Application reference.
Implements DAnCE::Plan_Launcher_Base.
const char * DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::launch_plan | ( | const ::Deployment::DeploymentPlan & | plan, | |
CORBA::Object_out | am, | |||
CORBA::Object_out | app | |||
) | [virtual] |
Launch a plan, given an IDL deployment plan.
plan | A valid IDL deployment plan |
Implements DAnCE::Plan_Launcher_Base.
CORBA::Object_ptr DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::prepare_plan | ( | const ::Deployment::DeploymentPlan & | plan | ) | [virtual] |
Invokes prepareplan for the provided plan, returning a reference to the ApplicationManager.
Implements DAnCE::Plan_Launcher_Base.
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::start | ( | CORBA::Object_ptr | application | ) | [virtual] |
Invokes start on the provided application reference.
Implements DAnCE::Plan_Launcher_Base.
CORBA::Object_ptr DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::start_launch | ( | CORBA::Object_ptr | app_mgr, | |
const ::Deployment::Properties & | properties, | |||
::Deployment::Connections_out | connections | |||
) | [virtual] |
Invokes startLaunch on the provided ApplicationManager reference.
Implements DAnCE::Plan_Launcher_Base.
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::teardown_application | ( | CORBA::Object_ptr | app_mgr, | |
CORBA::Object_ptr | app | |||
) | [virtual] |
Tears down a plan given the UUID.
Implements DAnCE::Plan_Launcher_Base.
Manager_var DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::manager_ [protected] |
Object reference of the Manager.
CORBA::ORB_var DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::orb_ [protected] |
Cached ORB pointer.