Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

ServantFactory_Activator.h

Go to the documentation of this file.
00001 00030 #ifndef _SERVANTFACTORY_ACTIVATOR_GUARD 00031 #define _SERVANTFACTORY_ACTIVATOR_GUARD 00032 00033 #include "ServantFactory.h" 00034 00044 class ServantFactory_Activator : public ServantFactory 00045 { 00046 public: 00054 ServantFactory_Activator(std::string the_name); 00055 00068 ServantFactory_Activator( 00069 std::string the_name, 00070 bool isSingleThreaded, 00071 bool useSystemId 00072 ); 00073 00083 ServantFactory_Activator(const char* the_name); 00084 00096 ServantFactory_Activator( 00097 const char* the_name, 00098 bool isSingleThreaded, 00099 bool useSystemId 00100 ); 00101 00103 virtual ~ServantFactory_Activator(); 00104 00105 00127 virtual void build(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) 00128 throw(ServantFactory::ServantBuildException); 00129 00130 protected: 00131 00132 00155 virtual void build_activator( 00156 CORBA::ORB_ptr orb, 00157 PortableServer::POA_ptr poa 00158 ) 00159 throw(ServantFactory::ServantBuildException) = 0; 00160 00161 private: 00162 CORBA::PolicyList _buildPolicies(PortableServer::POA_ptr poa); 00163 00164 void _createPOA(PortableServer::POA_ptr poa, 00165 CORBA::PolicyList &policies); 00166 00167 00168 bool _isSingleThreaded; 00169 bool _useSystemId; 00170 }; 00171 #endif