1 //=============================================================================
2 // File : SALOME_LifeCycleCORBA.hxx
3 // Created : jeu jui 12 14:55:45 CEST 2001
4 // Author : Paul RASCLE, EDF - MARC TAJCHMAN, CEA
6 // Copyright : EDF 2001
8 //=============================================================================
10 #ifndef _SALOME_LIFECYCLECORBA_HXX_
11 #define _SALOME_LIFECYCLECORBA_HXX_
17 #include <SALOMEconfig.h>
18 #include CORBA_CLIENT_HEADER(SALOME_Component)
20 class SALOME_NamingService;
22 class SALOME_LifeCycleCORBA
25 SALOME_LifeCycleCORBA();
26 SALOME_LifeCycleCORBA(SALOME_NamingService *ns);
27 virtual ~SALOME_LifeCycleCORBA();
29 Engines::Container_var FindContainer(const char *containerName);
30 Engines::Component_var FindOrLoad_Component(const char *containerName,
31 const char *componentName,
32 const char *implementationPath);
33 Engines::Component_var FindOrLoad_Component(const char *containerName,
34 const char *componentName);
36 SALOME_NamingService *_NS;
37 Engines::Container_var _FactoryServer ;
40 string ContainerName( const char * aComputerContainer ,
41 string * theComputer ,
42 string * theContainer ) ;
43 string ComputerPath( const char * theComputer ) ;
44 Engines::Container_var FindOrStartContainer(const string aComputerContainer ,
45 const string theComputer ,
46 const string theContainer ) ;