summaryrefslogtreecommitdiff
path: root/TAO/CIAO/ciao/HomeRegistrar.idl
blob: 42176c1d57184e05f8f91aae3b180ba333b39e2f (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
// $Id$

/**
 * @file HomeRegistrar.idl
 *
 * This file define the interface supported by CIAO's HomeFinder
 * service.  It is basically an extension of Components::HomeFinder
 * interface by supporting CIAO specific home
 */

#include "CCM_Component.idl"

module CIAO
{
  exception AlreadyBound
  {
    // Equivalent to CosNaming::NamingContext::AlreadyBound exception.
  };

  exception InvalidName
  {
    // Equivalent to CosNaming::NamingContext::InvalidName exception.
  };

  exception HomeRegisterFailure
  {
    // Equivalent to CosNaming::NamingContext::InvalidName exception.
  };

  interface HomeRegistrar : Components::HomeFinder
  {
    void register_home (in CORBA::RepositoryId home_repo_id,
                        in CORBA::RepositoryId comp_repo_id,
                        in string home_name,
                        in Object objref)
      raises (AlreadyBound, InvalidName, HomeRegisterFailure);
  };
};