|
Public Member Functions |
| | NodeApplicationManager_Impl_Base (CORBA::ORB_ptr o, PortableServer::POA_ptr p) |
| | Constructor.
|
| virtual Deployment::Application_ptr | startLaunch (const Deployment::Properties &configProperty, Deployment::Connections_out providedReference, CORBA::Boolean start ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::ResourceNotAvailable, Deployment::StartError, Deployment::InvalidProperty) |
| virtual void | destroyApplication (Deployment::Application_ptr ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StopError) |
| virtual Deployment::Application_ptr | perform_redeployment (const Deployment::Properties &configProperty, Deployment::Connections_out providedReference, CORBA::Boolean add_or_remove, CORBA::Boolean start ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (::CORBA::SystemException, ::Deployment::PlanError, ::Deployment::InstallationFailure, ::Deployment::UnknownImplId, ::Deployment::ImplEntryPointNotFound, ::Deployment::InvalidConnection, ::Deployment::InvalidProperty, ::Components::RemoveFailure) |
| virtual void | reset_plan (const ::Deployment::DeploymentPlan &plan ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (::CORBA::SystemException) |
| virtual void | set_shared_components (const Deployment::ComponentPlans &shared ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (::CORBA::SystemException) |
| virtual PortableServer::ObjectId | init (const char *nodeapp_location, const char *nodeapp_options, const CORBA::ULong delay, const Deployment::DeploymentPlan &plan, const PortableServer::POA_ptr callback_poa, NodeManager_Impl_Base *nm ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw (CORBA::SystemException, Deployment::InvalidProperty) |
| Deployment::NodeApplicationManager_ptr | get_nodeapp_manager (void) |
| | This method doesn't do duplicate.
|
Protected Types |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Components::CCMObject_var,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | CCMComponent_Map |
| | A map of the component created on this node.
|
| typedef CCMComponent_Map::iterator | Component_Iterator |
Protected Member Functions |
| virtual | ~NodeApplicationManager_Impl_Base (void) |
| | Destructor.
|
| virtual void | add_new_components (void) throw (CORBA::SystemException, ::Deployment::PlanError, ::Deployment::InstallationFailure, ::Deployment::UnknownImplId, ::Deployment::ImplEntryPointNotFound, ::Deployment::InvalidConnection, ::Deployment::InvalidProperty) |
| | Add new components.
|
| virtual void | remove_existing_components (void) throw (CORBA::SystemException, ::Deployment::PlanError, ::Components::RemoveFailure) |
| | Remove existing components.
|
| virtual bool | is_to_be_removed (const char *name) |
| virtual Deployment::NodeApplication_ptr | create_node_application (const ACE_CString &options ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw (CORBA::SystemException, Deployment::ResourceNotAvailable, Deployment::StartError, Deployment::InvalidProperty) |
| | Internal help function to create new NodeApplicationProcess.
|
| virtual Deployment::Connections * | create_connections (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::ResourceNotAvailable, Deployment::StartError, Deployment::InvalidProperty) |
| | Helper function to get the connection.
|
| void | parse_config_value (ACE_CString &str ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::InvalidProperty) |
| bool | is_shared_component (ACE_CString &name) |
| bool | is_external_component (ACE_CString &name) |
Protected Attributes |
| ACE_CString | nodeapp_path_ |
| | location of the Nodeapplication
|
| CORBA::ORB_var | orb_ |
| | Keep a pointer to the managing ORB serving this servant.
|
| PortableServer::POA_var | poa_ |
| | Keep a pointer to the managing POA.
|
| NodeManager_Impl_Base * | node_manager_ |
| Deployment::NodeApplicationManager_var | objref_ |
| | ObjectRef of ourself which will be needed by the callback.
|
| PortableServer::POA_var | callback_poa_ |
| | Child poa that uses active object map.
|
| Deployment::NodeApplication_var | nodeapp_ |
| Deployment::DeploymentPlan | plan_ |
| CORBA::ULong | spawn_delay_ |
| CORBA::String_var | nodeapp_command_op_ |
| | Extracted commandline options to pass to the NodeApplication.
|
| Deployment::ComponentPlans | shared_components_ |
| | A list of components shared across deployment plans.
|
| Deployment::ComponentPlans | external_components_ |
| | A list of components that are "external" to this plan.
|
| CCMComponent_Map | component_map_ |
| TAO_SYNCH_MUTEX | lock_ |
| | Synchronize access to the object set.
|