]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[tuleap28734] : Fix in SSL agy/vadim_review
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 24 Jan 2022 16:25:33 +0000 (17:25 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 24 Jan 2022 16:25:33 +0000 (17:25 +0100)
src/KernelHelpers/SALOME_KernelServices.cxx

index 30d81f6b13e5f7e79a520cdb187bd8063d8990b1..3b12354a07a574b1031c6d71422d10b7c3cddb40 100644 (file)
@@ -185,10 +185,9 @@ namespace KERNEL {
     }
     else
     {
-      //SALOME::SALOME_Exception ex(createSalomeException("RetrieveCompo : not implemented yet !"));
-      //throw ex;
-      throw SALOME_Exception("RetrieveCompo : not implemented yet !");
-      //GetLCC()->FindOrLoad_Component( "FactoryServer", compoName );
+      Engines::EngineComponent_var compo = getLifeCycleCORBA()->FindOrLoad_Component( "FactoryServer", compoName.c_str() );
+      ret = CORBA::Object::_narrow(compo);
+      _compo_map[compoName] = ret;
     }
     return ret._retn();
   }