blob: 15b741d1c23bdd1d8915ac446f83814b2b474561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Compliant to OMG 06-04-01, section 9.4.1.1
#if !defined (CCM_2CONTEXT_IDL)
#define CCM_2CONTEXT_IDL
#include "ccm/CCM_Context.idl"
#include "ccm/Extended/CCM_HomeRegistration.idl"
#include <CosPersistentState.idl>
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 */
|