summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/POAManagerFactory.pidl
blob: 502b8727168bcd3d5e7b875287575aee21c50fe0 (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
/**
 * @file POAManagerFactory.pidl
 *
 * $Id$
 *
 * @brief Pre-compiled IDL source for the PortableServer module.
 *
  $ACE_ROOT/bin/tao_idl \
  -Gp -Gd -Ge 1 -Sci -I$TAO_ROOT \
  -Wb,export_macro=TAO_PortableServer_Export \
  -Wb,export_include="tao/PortableServer/portableserver_export.h" \
  -Wb,pre_include="ace/pre.h" \
  -Wb,post_include="ace/post.h" \
  POAManagerFactory.pidl
 */

#ifndef _PORTABLESERVER_POAMANAGER_FACTORY_IDL
#define _PORTABLESERVER_POAMANAGER_FACTORY_IDL

#include "tao/Policy.pidl"

#pragma prefix "omg.org"

#if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)

module PortableServer
{
# pragma version PortableServer 2.3

  local interface POAManager;

  local interface POAManagerFactory
  {
    typedef sequence<POAManager> POAManagerSeq;

    exception ManagerAlreadyExists {};

    POAManager create_POAManager(
      in string id,
      in CORBA::PolicyList policies
    ) raises(ManagerAlreadyExists, CORBA::PolicyError);

    POAManagerSeq list();

    POAManager find(in string id);
  };
};

#endif

#endif // _PORTABLESERVER_POAMANAGER_FACTORY_IDL