General KERNEL Documentation     End User KERNEL Services  


TestComponentPy Namespace Reference


Variables

tuple orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)
tuple obj = orb.resolve_initial_references("NameService")
tuple rootContext = obj._narrow(CosNaming.NamingContext)
tuple myMachine = string.split(os.getenv( "HOSTNAME" ),'.')
list machineName = myMachine[0]
string containerName = "FactoryServerPy"
list name
tuple obj = rootContext.resolve(name)
tuple container = obj._narrow(Engines.Container)
tuple comp = container.load_impl("SALOME_TestComponentPy","SALOME_TestComponentPy")
tuple comptest = comp._narrow(Engines.TestComponent)


Variable Documentation

tuple TestComponentPy::orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) [static]
 

tuple TestComponentPy::obj = orb.resolve_initial_references("NameService") [static]
 

tuple TestComponentPy::rootContext = obj._narrow(CosNaming.NamingContext) [static]
 

tuple TestComponentPy::myMachine = string.split(os.getenv( "HOSTNAME" ),'.') [static]
 

list TestComponentPy::machineName = myMachine[0] [static]
 

string TestComponentPy::containerName = "FactoryServerPy" [static]
 

list TestComponentPy::name [static]
 

Initial value:

[CosNaming.NameComponent("Containers","dir"),
        CosNaming.NameComponent(machineName,"dir"),
        CosNaming.NameComponent(containerName,"object")]

tuple TestComponentPy::obj = rootContext.resolve(name) [static]
 

tuple TestComponentPy::container = obj._narrow(Engines.Container) [static]
 

tuple TestComponentPy::comp = container.load_impl("SALOME_TestComponentPy","SALOME_TestComponentPy") [static]
 

tuple TestComponentPy::comptest = comp._narrow(Engines.TestComponent) [static]