summaryrefslogtreecommitdiff
path: root/CIAO/ciao/CCM_HomeFinder.idl
blob: f5ffca44442013fea1f17021bf7aa95792de7c63 (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
// $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_HomeFinder.idl
 */

#if !defined (CCM_HOMEFINDER_IDL)
#define CCM_HOMEFINDER_IDL

#include "tao/orb_types.pidl"

module Components
{
  typeprefix Components "omg.org";

  exception HomeNotFound {};

  interface CCMHome;

  interface HomeFinder
  {
    CCMHome find_home_by_component_type (in CORBA::RepositoryId comp_repid)
      raises (HomeNotFound);

    CCMHome find_home_by_home_type (in CORBA::RepositoryId home_repid)
      raises (HomeNotFound);

    CCMHome find_home_by_name (in string home_name)
      raises (HomeNotFound);
  };
};
#endif /* CCM_HOMEFINDER_IDL */