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.h31
1 files changed, 22 insertions, 9 deletions
diff --git a/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h b/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
index 837c6b4291d..f18e5b6206e 100644
--- a/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
+++ b/TAO/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h
@@ -58,7 +58,7 @@ namespace CIAO
// port objrefs of components within this plan
enum Connection_Search_Type
{
- External_Connections,
+ External_Connections,
Internal_Connections
};
@@ -183,6 +183,15 @@ namespace CIAO
ACE_THROW_SPEC ((CORBA::SystemException,
Deployment::StartError));
+ virtual void passivate_shared_components (void)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ Deployment::StartError));
+
+ virtual void activate_shared_components (void)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ Deployment::StartError));
+
+
/**
* Starts the application. Raises the StartError exception if
* starting the application fails.
@@ -220,7 +229,7 @@ namespace CIAO
// The input parameter is a *new_plan* which has the
// same UUID of the existing running plan.
- virtual void
+ virtual void
perform_redeployment (
const Deployment::DeploymentPlan & plan
ACE_ENV_ARG_DECL_WITH_DEFAULTS)
@@ -256,12 +265,12 @@ namespace CIAO
/**
* Construct <Component_Binding_Info> struct for the component instance.
- *
+ *
* @para name component instance name
* @para child_uuid child plan uuid string
*/
CIAO::Component_Binding_Info *
- populate_binding_info (const ACE_CString& name,
+ populate_binding_info (const ACE_CString& name,
const ACE_CString& child_uuid);
/**
@@ -281,9 +290,9 @@ namespace CIAO
void synchronize_shared_components_with_node_managers (void);
/**
- * A helper function to add a list of shared components into
+ * A helper function to add a list of shared components into
* the cached shared component list.
- *
+ *
* @para shared A list of shared components to be added.
*/
void add_shared_components (const Deployment::ComponentPlans & shared);
@@ -291,7 +300,7 @@ namespace CIAO
/**
* A private function to check whether a component is in the shared
* component list.
- *
+ *
* @para name The name of a component instance.
*/
bool is_shared_component (const char * name);
@@ -313,7 +322,7 @@ namespace CIAO
bool is_getting_all_connections = true,
bool is_search_new_plan = true,
Connection_Search_Type t = Internal_Connections
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
/// This is a helper function to find the connection for a component.
bool
@@ -321,7 +330,7 @@ namespace CIAO
Deployment::Connections & retv,
bool is_ReDAC,
bool is_search_new_plan
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((Deployment::StartError));
/// Dump connections, a static method
@@ -335,6 +344,10 @@ namespace CIAO
subtract_connections (const Deployment::Connections & left,
const Deployment::Connections & right);
+ void
+ purge_connections (Deployment::Connections_var & connections,
+ const char * inst);
+
protected:
/// location of the Domainapplication
CORBA::String_var domainapp_path_;