summaryrefslogtreecommitdiff
path: root/modules/CIAO/ccm/CCM_CCM2Context.idl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/ccm/CCM_CCM2Context.idl')
-rw-r--r--modules/CIAO/ccm/CCM_CCM2Context.idl44
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/CIAO/ccm/CCM_CCM2Context.idl b/modules/CIAO/ccm/CCM_CCM2Context.idl
new file mode 100644
index 00000000000..17bbc1bd3c5
--- /dev/null
+++ b/modules/CIAO/ccm/CCM_CCM2Context.idl
@@ -0,0 +1,44 @@
+// $Id$
+
+#if !defined (CCM_2CONTEXT_IDL)
+#define CCM_2CONTEXT_IDL
+
+#include "ccm/CCM_Container.idl"
+#include "ccm/CCM_HomeRegistration.idl"
+#include <CosPersistentState.idl>
+
+// *************** Extended Container Interfaces ***************
+
+module Components
+{
+ typeprefix Components "omg.org";
+
+#if !defined (CCM_LW)
+ typedef CosPersistentState::CatalogBase CatalogBase;
+#endif
+#if !defined (CCM_LW)
+ typedef CosPersistentState::_TypeId _TypeId;
+#endif
+
+ exception PolicyMismatch {};
+#if !defined (CCM_LW)
+ exception PersistenceNotAvailable {};
+#endif
+
+ local interface CCM2Context : CCMContext
+ {
+#if !defined (CCM_LW)
+ HomeRegistration get_home_registration ();
+#endif
+
+ void req_passivate ()
+ raises (PolicyMismatch);
+
+#if !defined (CCM_LW)
+ CatalogBase get_persistence (in _TypeId catalog_type_id)
+ raises (PersistenceNotAvailable);
+#endif
+ };
+
+};
+#endif /* CCM_2CONTEXT_IDL */