BoilerPlate-LightweightLogging Service OMG Formal/03-11-03 |
00001 00030 #include <string> 00031 00032 #include "BP_CosLw_Log.h" 00033 #include "ServantFactory_Simple.h" 00034 #include "Producer_Impl.h" 00035 #include "LogConsumerServantFactory.h" 00036 #include "ConsumerAdmin_Impl.h" 00037 #include "LogAdministrator_Impl.h" 00038 00039 00066 class Log_ServantFactory : 00067 public virtual ServantFactory_Simple 00068 00069 { 00070 public: 00071 00077 Log_ServantFactory(LogConsumerServantFactory& logstate) 00078 throw(ServantFactory::ServantBuildException); 00079 00084 virtual ~Log_ServantFactory(); 00085 00086 protected: 00087 00097 virtual void build_servants( 00098 CORBA::ORB_ptr orb, 00099 PortableServer::POA_ptr poa 00100 ) throw (ServantFactory::ServantBuildException); 00101 00102 private: 00103 00104 LogConsumerServantFactory& _consumer_fact; 00105 LogProducer_Impl* _producer; 00106 ConsumerAdmin_Impl* _consumer_admin; 00107 LogAdministrator_Impl* _administrator; 00108 00109 std::string _ns_tree; 00110 std::string _log_id; 00111 00112 std::string _getNSTreeConf() 00113 throw(ServantFactory::ServantBuildException); 00114 std::string _getLogIdConf() 00115 throw(ServantFactory::ServantBuildException); 00116 00117 00118 };
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:32:45 2004 for BoilerPlate CosLightweightLogging Service by 1.3.7 |