BoilerPlate: Reusable CORBA |
00001 00030 #ifndef _SERVANTFACTORY_LOCATOR_GUARD 00031 #define _SERVANTFACTORY_LOCATOR_GUARD 00032 00033 #include "ServantFactory.h" 00034 00052 class ServantFactory_Locator : public ServantFactory 00053 { 00054 public: 00058 ServantFactory_Locator(std::string the_name); 00059 00069 ServantFactory_Locator( 00070 std::string the_name, 00071 bool isSingleThreaded, 00072 bool useSystemId 00073 ); 00074 00080 ServantFactory_Locator(const char* the_name); 00081 00091 ServantFactory_Locator( 00092 const char* the_name, 00093 bool isSingleThreaded, 00094 bool useSystemId 00095 ); 00096 00097 00098 virtual ~ServantFactory_Locator(); 00099 00100 00117 virtual void build( 00118 CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) 00119 throw(ServantFactory::ServantBuildException); 00120 00121 protected: 00122 00123 00143 virtual void build_locator( 00144 CORBA::ORB_ptr orb, 00145 PortableServer::POA_ptr poa 00146 ) 00147 throw(ServantFactory::ServantBuildException) = 0; 00148 00149 private: 00150 CORBA::PolicyList _buildPolicies(PortableServer::POA_ptr poa); 00151 00152 void _createPOA(PortableServer::POA_ptr poa, 00153 CORBA::PolicyList &policies); 00154 00155 bool _isSingleThreaded; 00156 bool _useSystemId; 00157 00158 00159 }; 00160 #endif
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:22:32 2004 for BoilerPlate by 1.3.7 |