15 FacSupervisor* FacSupervisor::_instance = NULL;
19 if (_instance == NULL) {
35 _persistentBomPool.push_back (ioFac_ptr);
40 _cloneBomPool.push_back (ioFac_ptr);
45 _svcPool.push_back (ioFac_ptr);
50 for (PersistentBomFactoryPool_T::const_iterator itFactory = _persistentBomPool.begin();
51 itFactory != _persistentBomPool.end(); itFactory++) {
53 assert (currentFactory_ptr != NULL);
55 delete (currentFactory_ptr); currentFactory_ptr = NULL;
58 _persistentBomPool.clear();
63 for (CloneBomFactoryPool_T::const_iterator itFactory = _cloneBomPool.begin();
64 itFactory != _cloneBomPool.end(); itFactory++) {
66 assert (currentFactory_ptr != NULL);
68 delete (currentFactory_ptr); currentFactory_ptr = NULL;
72 _cloneBomPool.clear();
77 for (ServiceFactoryPool_T::const_iterator itFactory = _svcPool.begin();
78 itFactory != _svcPool.end(); itFactory++) {
80 assert (currentFactory_ptr != NULL);
82 delete (currentFactory_ptr); currentFactory_ptr = NULL;
98 DBSessionManager::clean();
113 delete _instance; _instance = NULL;