00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef _PORTABLESERVER_POAMANAGER_FACTORY_IDL
00018 #define _PORTABLESERVER_POAMANAGER_FACTORY_IDL
00019 
00020 #include "tao/Policy.pidl"
00021 
00022 #pragma prefix "omg.org"
00023 
00024 #if ! defined (CORBA_E_COMPACT) && ! defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)
00025 
00026 module PortableServer
00027 {
00028 # pragma version PortableServer 2.3
00029 
00030   local interface POAManager;
00031 
00032   local interface POAManagerFactory
00033   {
00034     typedef sequence<POAManager> POAManagerSeq;
00035 
00036     exception ManagerAlreadyExists {};
00037 
00038     POAManager create_POAManager(
00039       in string id,
00040       in CORBA::PolicyList policies
00041     ) raises(ManagerAlreadyExists, CORBA::PolicyError);
00042 
00043     POAManagerSeq list();
00044 
00045     POAManager find(in string id);
00046   };
00047 };
00048 
00049 #endif
00050 
00051 #endif // _PORTABLESERVER_POAMANAGER_FACTORY_IDL