28 #include "SALOME_NamingService.hxx"
29 #include "SALOME_LifeCycleCORBA.hxx"
32 #include <omniORB4/CORBA.h>
39 using namespace YACS::ENGINE;
74 std::cerr <<
"SalomeComponent::unload : not implemented " << std::endl;
98 throw Exception(
"Unrecognized type of Container ! Only Salome are supported by the Salome components !");
103 SALOME_LifeCycleCORBA LCC(&ns);
104 Engines::ContainerParameters params;
106 params.resource_params.name =
"localhost";
107 params.container_name =
"FactoryServer";
148 ostringstream stream;
149 stream <<
"<component>" <<
getCompoName() <<
"</component>";
155 if(!dynamic_cast<SalomeContainer *>(cont))
156 throw Exception(
"SalomeComponent::setContainer : a Salome component must be attached to a Salome container !");
169 DEBTRACE(
"SalomeComponent::shutdown " << level);