|
Public Types |
typedef CIAO::NodeManager_Impl_Base::_ref_count_info | Ref_Count_Info |
Public Member Functions |
| NodeManager_Impl_Base (const char *name, CORBA::ORB_ptr orb, PortableServer::POA_ptr p, const char *nodeapp_loc, const char *nodeapp_options, int spawn_delay) throw (CORBA::SystemException) |
| Constructor.
|
virtual void | init (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Initializes the NodeManager.
|
virtual PortableServer::POA_ptr | _default_POA (void) |
| POA operation..
|
virtual char * | name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| CIAO::Daemon defined attributes/operations.
|
virtual void | shutdown (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual void | joinDomain (const Deployment::Domain &domain, Deployment::TargetManager_ptr manager, Deployment::Logger_ptr log ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual void | leaveDomain (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual ::Deployment::NodeApplicationManager_ptr | preparePlan (const Deployment::DeploymentPlan &plan ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StartError, Deployment::PlanError) |
virtual void | destroyManager (Deployment::NodeApplicationManager_ptr appManager ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StopError, Deployment::InvalidReference) |
virtual void | destroyPlan (const Deployment::DeploymentPlan &plan ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (::CORBA::SystemException, ::Deployment::StopError) |
virtual ::Deployment::ComponentPlans * | get_shared_components (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (::CORBA::SystemException) |
| CIAO specific extension, return a set of shared components.
|
virtual ::Components::FacetDescriptions * | get_all_facets (ACE_CString &name) |
virtual ::Components::ConsumerDescriptions * | get_all_consumers (ACE_CString &name) |
virtual void | set_all_facets (ACE_CString &name, const ::Components::FacetDescriptions_var &facets) |
virtual void | set_all_consumers (ACE_CString &name, const ::Components::ConsumerDescriptions_var &consumers) |
Protected Types |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Ref_Count_Info,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | Reference_Count_Map |
typedef Reference_Count_Map::iterator | Ref_Count_Iterator |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Components::FacetDescriptions_var,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | Component_Facets_Map |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Components::ConsumerDescriptions_var,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | Component_Consumers_Map |
Protected Member Functions |
virtual | ~NodeManager_Impl_Base (void) |
virtual ::CIAO::NodeApplicationManager_Impl_Base * | create_node_app_manager (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa ACE_ENV_ARG_DECL)=0 throw (CORBA::SystemException) |
virtual ::Deployment::ComponentPlans * | get_shared_components_i (void) |
| Actual implementation of the <get_shared_components> IDL operation.
|
CORBA::StringSeq * | shared_components_seq (void) |
| A helper method that convert ACE_Unbounded_Set to CORBA StringSeq.
|
Protected Attributes |
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.
|
CORBA::String_var | name_ |
| My Canonical name.
|
CORBA::String_var | nodeapp_location_ |
| NodeApplication location.
|
CORBA::String_var | nodeapp_options_ |
| NodeApplication options.
|
PortableServer::POA_var | callback_poa_ |
| Cached callback POA.
|
int | spawn_delay_ |
| Spawn delay for the NodeAppMgr.
|
NAM_Map | map_ |
Reference_Count_Map | ref_count_map_ |
ACE_Unbounded_Set< ACE_CString > | shared_components_ |
| A set to track the names of shared component instances.
|
Component_Facets_Map | comp_facets_map_ |
Component_Consumers_Map | comp_consumers_map_ |
auto_ptr< MonitorController > | monitor_controller_ |
| The MonitorController pointer.
|
Private Member Functions |
bool | validate_plan (const Deployment::DeploymentPlan &plan) |