summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h')
-rw-r--r--TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h72
1 files changed, 65 insertions, 7 deletions
diff --git a/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h b/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
index 5f2a4aa6239..74af60addba 100644
--- a/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
+++ b/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
@@ -47,7 +47,7 @@ namespace CIAO
* deploying an application on the domain level, i.e. across
* nodes. It specializes the ApplicationManager abstract interface.
*/
- class DomainApplicationManager_Export DomainApplicationManager_Impl
+ class DomainApplicationManager_Export DomainApplicationManager_Impl_Base
: public virtual POA_Deployment::DomainApplicationManager,
public virtual PortableServer::RefCountServantBase
{
@@ -66,11 +66,11 @@ namespace CIAO
} Chained_Artifacts;
/// Constructor
- DomainApplicationManager_Impl (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- Deployment::TargetManager_ptr manager,
- const Deployment::DeploymentPlan &plan,
- const char * deployment_file)
+ DomainApplicationManager_Impl_Base (CORBA::ORB_ptr orb,
+ PortableServer::POA_ptr poa,
+ Deployment::TargetManager_ptr manager,
+ const Deployment::DeploymentPlan &plan,
+ const char * deployment_file)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -183,7 +183,7 @@ namespace CIAO
protected:
/// Destructor
- virtual ~DomainApplicationManager_Impl (void);
+ virtual ~DomainApplicationManager_Impl_Base (void);
/**
* (1) Parse the global deployment plan, get the total number of
@@ -226,6 +226,9 @@ namespace CIAO
/// Dump connections, a static method
static void dump_connections (const ::Deployment::Connections & connections);
+ virtual ::Deployment::NodeManager_ptr
+ get_node_manager (const char* name) = 0;
+
protected:
/// location of the Domainapplication
CORBA::String_var domainapp_path_;
@@ -285,6 +288,61 @@ namespace CIAO
::Deployment::Connections_var all_connections_;
};
+
+
+ /**
+ * @class DomainApplicationManager_Impl
+ *
+ */
+ class DomainApplicationManager_Impl
+ : public virtual DomainApplicationManager_Impl_Base
+ {
+ public:
+ /// Constructor
+ DomainApplicationManager_Impl (CORBA::ORB_ptr orb,
+ PortableServer::POA_ptr poa,
+ Deployment::TargetManager_ptr manager,
+ const Deployment::DeploymentPlan &plan,
+ const char * deployment_file)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ protected:
+ /// Destructor
+ virtual ~DomainApplicationManager_Impl (void);
+
+ virtual ::Deployment::NodeManager_ptr get_node_manager (const char* name);
+ };
+
+ struct Static_Config_EntryPoints_Maps;
+
+ /**
+ * @class Static_DomainApplicationManager_Impl
+ *
+ */
+ class Static_DomainApplicationManager_Impl
+ : public virtual DomainApplicationManager_Impl_Base
+ {
+ public:
+ /// Constructor
+ Static_DomainApplicationManager_Impl (CORBA::ORB_ptr orb,
+ PortableServer::POA_ptr poa,
+ Deployment::TargetManager_ptr manager,
+ const Deployment::DeploymentPlan &plan,
+ const char * deployment_file,
+ Static_Config_EntryPoints_Maps* static_config_entrypoints_maps)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ protected:
+ /// Destructor
+ virtual ~Static_DomainApplicationManager_Impl (void);
+
+ virtual ::Deployment::NodeManager_ptr get_node_manager (const char* name);
+
+ protected:
+ ::Deployment::NodeManager_var static_node_manager_;
+
+ };
+
}
#if defined (__ACE_INLINE__)