summaryrefslogtreecommitdiff
path: root/CIAO/ccm/CCM_Entity2Context.idl
blob: d21772bfb6b6d198d83190b7411873438f009ad6 (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
// $Id$

#if !defined (CCM_ENTITY2CONTEXT_IDL)
#define CCM_ENTITY2CONTEXT_IDL

#include "ccm/CCM_Session2Context.idl"
#include "ccm/CCM_EntityContext.idl"
#include "ccm/CCM_ComponentId.idl"

// *************** Extended Container Interfaces ***************

module Components
{
  typeprefix Components "omg.org";

  local interface Entity2Context : EntityContext, CCM2Context
  {
    ComponentId get_component_id ()
      raises (IllegalState);

    ComponentId create_component_id (in FacetId target_facet,
                                     in SegmentId target_segment,
                                     in SegmentDescrSeq seq_descrs);

    ComponentId create_monolithic_component_id (in FacetId target_facet,
                                                in StateIdValue sid);

    Object create_ref_from_cid (in CORBA::RepositoryId repid,
                                in ComponentId cid);

    ComponentId get_cid_from_ref (in Object objref)
      raises (BadComponentReference);
  };
};
#endif /* CCM_ENTITY2CONTEXT_IDL */