#ifndef POAUTIL_H__ #define POAUTIL_H__ #include "CipresCommlib/ConfigDependentHeaders.h" #if CIPRES_USING_OMNI_ORB # include "omniORB4/CORBA.h" #endif class POAUtil { public: static PortableServer::POA_ptr create_basic_POA( PortableServer::POA_ptr parentPOA, PortableServer::POAManager_ptr POAManager, const char * POAName, CORBA::Boolean isMultiThread, CORBA::Boolean isPersistent); static CORBA::Object_ptr activate_servant( CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, # if defined(CIPRES_USING_IORTABLE) && CIPRES_USING_IORTABLE IORTable::Table_ptr iortable, # endif PortableServer::ServantBase *servant, const char *objectName, const char *objectAlias); }; #endif