summaryrefslogtreecommitdiff
path: root/CIAO/ciao/CCM_Container_Ex.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/CCM_Container_Ex.idl')
-rw-r--r--CIAO/ciao/CCM_Container_Ex.idl128
1 files changed, 0 insertions, 128 deletions
diff --git a/CIAO/ciao/CCM_Container_Ex.idl b/CIAO/ciao/CCM_Container_Ex.idl
deleted file mode 100644
index def43f81a46..00000000000
--- a/CIAO/ciao/CCM_Container_Ex.idl
+++ /dev/null
@@ -1,128 +0,0 @@
-// $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_Ex.idl
- */
-
-//#define CIAO_HAS_IMPORT_KEYWORD
-
-#if !defined (CCM_CONTAINER_EX_IDL)
-#define CCM_CONTAINER_EX_IDL
-
-#include "CCM_Container.idl"
-#include "CCM_Session2Context.idl"
-#include "CCM_EntityContext.idl"
-#include <CosPersistentState.idl>
-
-// *************** Extended Container Interfaces ***************
-
-module Components
-{
- typeprefix Components "omg.org";
-
- typedef short SegmentId;
- const SegmentId COMPONENT_SEGMENT = 0;
-
- typedef short FacetId;
- const FacetId COMPONENT_FACET = 0;
-
- typedef sequence<octet> IdData;
- typedef CosPersistentState::Pid PersistentId;
-
- typedef short StateIdType;
- const StateIdType PERSISTENT_ID = 0;
-
- exception InvalidStateIdData {};
-
- abstract valuetype StateIdValue
- {
- StateIdType get_sid_type();
- IdData get_sid_data();
- };
-
- local interface StateIdFactory
- {
- StateIdValue create (in IdData data)
- raises (InvalidStateIdData);
- };
-
- valuetype PersistentIdValue : StateIdValue
- {
- private PersistentId pid;
-
- PersistentId get_pid();
- factory init (in PersistentId pid);
- };
-
- valuetype SegmentDescr
- {
- private StateIdValue sid;
- private SegmentId seg;
-
- StateIdValue get_sid();
- SegmentId get_seg_id();
- factory init (in StateIdValue sid,
- in SegmentId seg);
- };
-
- typedef sequence<SegmentDescr> SegmentDescrSeq;
-
- local interface ComponentId
- {
- FacetId get_target_facet();
-
- SegmentId get_target_segment();
-
- StateIdValue get_target_state_id (in StateIdFactory sid_factory)
- raises (InvalidStateIdData);
-
- StateIdValue get_segment_state_id (in SegmentId seg,
- in StateIdFactory sid_factory)
- raises (InvalidStateIdData);
-
- ComponentId create_with_new_target (in FacetId new_target_facet,
- in SegmentId new_target_segment);
-
- SegmentDescrSeq get_segment_descrs (in StateIdFactory sid_factory)
- raises (InvalidStateIdData);
- };
-
- 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);
- };
-
- local interface ExecutorLocator : EnterpriseComponent
- {
- Object obtain_executor (in string name)
- raises (CCMException);
-
- void release_executor (in Object exc)
- raises (CCMException);
-
- void configuration_complete()
- raises (InvalidConfiguration);
- };
-};
-#endif /* CCM_CONTAINER_EX_IDL */