1 #ifndef bug_3251_PersistentPoa_h
2 #define bug_3251_PersistentPoa_h
6 #include "ace/Service_Object.h"
8 #include "tao/PortableServer/PortableServer.h"
11 #include "bug_3251_export.h"
13 class bug_3251_Export PersistentPoa
: public ACE_Service_Object
15 // public types and methods
19 ~PersistentPoa () noexcept
;
21 // protected types and methods
23 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
27 // private methods and instance variables
29 std::string m_poaName
;
30 CORBA::ORB_var mv_orb
;
31 PortableServer::POA_var mv_rootPOA
;
32 PortableServer::POA_var mv_thisPOA
;
33 PortableServer::POAManager_var mv_poaManager
;
34 }; /* end of class PersistentPoa */
36 ACE_FACTORY_DECLARE (bug_3251
, PersistentPoa
)
38 #endif /* bug_3251_PersistentPoa_h */