blob: 4eb3f268da9d3470f01d1a82a5ce38c136523511 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
// $Id$
/**
* @@ Compile this file with:
*
* tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \
* -Wb,export_macro=CIAO_Export \
* -Wb,export_include=CIAO_export.h \
* -Wb,pre_include="ace/pre.h" \
* -Wb,post_include="ace/post.h" \
* CCM_Container.idl
*/
//#define CIAO_HAS_IMPORT_KEYWORD
#if !defined (CCM_CONTAINER_IDL)
#define CCM_CONTAINER_IDL
#include "CCM_Component.idl"
#include "CCM_Context.idl"
#include "CCM_CCMException.idl"
#include "CCM_EnterpriseComponent.idl"
#include "CCM_HomeExecutorBase.idl"
// *************** Basic Container interfaces ***************
module Components
{
typeprefix Components "omg.org";
local interface SessionContext : CCMContext
{
Object get_CCM_object()
raises (IllegalState);
};
local interface SessionComponent : EnterpriseComponent
{
void set_session_context ( in SessionContext ctx)
raises (CCMException);
void ccm_activate()
raises (CCMException);
void ccm_passivate()
raises (CCMException);
void ccm_remove ()
raises (CCMException);
/**
* This method is invoked before ccm_activate () is called. All
* components in the assembly get this callback before the
* ccm_activate () is called.
* @note CIAO specific
*/
void ciao_preactivate ()
raises (CCMException);
/**
* This method is invoked after ccm_activate () is called. All
* components in the assembly get this callback after the
* ccm_activate () is called.
* @note CIAO specific
*/
void ciao_postactivate ()
raises (CCMException);
};
};
#endif /* CCM_CONTAINER_IDL */
|