|
| | args |
| |
| | modules_list |
| |
| | modules_root_dir |
| |
| | clt = orbmodule.client() |
| |
| | myServer = runSalomeOld.LoggerServer(args) |
| |
| | cataServer = runSalomeOld.CatalogServer(args) |
| |
| | myCmServer = runSalomeOld.LauncherServer(args) |
| |
| list | command = ['./TestLifeCycleCORBA'] |
| |
| | ret = subprocess.call(command) |
| |
| | launcher = clt.waitNS("/SalomeLauncher",Engines.SalomeLauncher) |
| |
| | host = Utils_Identity.getShortHostName() |
| |
| | lcc = LifeCycleCORBA.LifeCycleCORBA() |
| |
| | obj = lcc.FindOrLoad_Component("FactoryServer","SalomeTestComponent") |
| |
| | comp = obj._narrow(Engines.TestComponent) |
| |
| | param = LifeCycleCORBA.ContainerParameters() |
| |
| | hostname |
| |
| | container_name |
| |
| | engine = lcc.FindComponent(param,'SalomeTestComponent') |
| |
| | orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) |
| |
| | rootContext = obj._narrow(CosNaming.NamingContext) |
| |
| list | context_name = [] |
| |
| | ContainerManager = rootContext.resolve( context_name ) |
| |
| | myContainerparamsCPP = LifeCycleCORBA.ContainerParameters() |
| |
| list | computerlistCPP = [host] |
| |
| | containerCPP = ContainerManager.FindOrStartContainer( myContainerparamsCPP , computerlistCPP ) |
| |
| dictionary | ComponentparamsCPP = {} |
| |
| | compCPP = lcc.FindOrLoad_Component(myContainerparamsCPP,'SalomeTestComponent') |
| |
| | engineCPP = lcc.FindComponent(myContainerparamsCPP,'SalomeTestComponent') |
| |
| | myContainerparamsPy = LifeCycleCORBA.ContainerParameters() |
| |
| list | computerlistPy = [host] |
| |
| | containerPy = ContainerManager.FindOrStartContainer( myContainerparamsPy , computerlistPy ) |
| |
| | compPy = lcc.FindOrLoad_Component(myContainerparamsPy,'SALOME_TestComponentPy') |
| |
| | enginePy = lcc.FindComponent(myContainerparamsPy,'SALOME_TestComponentPy') |
| |