Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / POAManagerFactory.pidl
blobbaacfce238aa087066a146117df83b30e5e64721
1 /**
2  * @file POAManagerFactory.pidl
3  *
4  * @brief Pre-compiled IDL source for the PortableServer module.
5  *
6   $ACE_ROOT/bin/tao_idl \
7   -Gp -Gd -Sci -I$TAO_ROOT \
8   -Wb,export_macro=TAO_PortableServer_Export \
9   -Wb,export_include="tao/PortableServer/portableserver_export.h" \
10   -Wb,pre_include="ace/pre.h" \
11   -Wb,post_include="ace/post.h" \
12   POAManagerFactory.pidl
13  */
15 #ifndef _PORTABLESERVER_POAMANAGER_FACTORY_IDL
16 #define _PORTABLESERVER_POAMANAGER_FACTORY_IDL
18 #include "tao/Policy.pidl"
20 #pragma prefix "omg.org"
22 #if ! defined (CORBA_E_COMPACT) && ! defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)
24 module PortableServer
26 # pragma version PortableServer 2.3
28   local interface POAManager;
30   local interface POAManagerFactory
31   {
32     typedef sequence<POAManager> POAManagerSeq;
34     exception ManagerAlreadyExists {};
36     POAManager create_POAManager(
37       in string id,
38       in CORBA::PolicyList policies)
39         raises(ManagerAlreadyExists, CORBA::PolicyError);
41     POAManagerSeq list();
43     POAManager find(in string id);
44   };
47 #endif
49 #endif // _PORTABLESERVER_POAMANAGER_FACTORY_IDL