Changeset 3735

Show
Ignore:
Timestamp:
05/08/07 12:08:25 (6 years ago)
Author:
balister
Message:

Update component arguments per ticket #103.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossie/trunk/ossie/framework/ApplicationFactory_impl.cpp

    r3733 r3735  
    159159 
    160160                CF::DataType dt; 
    161                 dt.id = component->getIdentifier(); 
    162  
    163                 std::string initial_name(""); 
    164                  
    165                 if (!strncmp("DomainName1", component->getNamingServiceName(), 11)) { 
    166                         initial_name.append((component->getNamingServiceName()+12)); 
    167                 } else { 
    168                         initial_name.append(component->getNamingServiceName()); 
    169                 } 
    170                  
     161 
     162                CORBA::String_var waveformNameContextIOR = orb->orb->object_to_string(waveformContext); 
     163                dt.id = "NAMING_CONTEXT_IOR"; 
     164                dt.value <<= waveformNameContextIOR; 
     165                component->addExecParameter(&dt); 
     166 
     167                dt.id = "NAME_BINDING"; 
    171168                dt.value <<= component->getNamingServiceName(); 
    172                          
     169                component->addExecParameter(&dt); 
     170 
     171                dt.id = "COMPONENT_IDENTIFIER"; 
     172                dt.value <<= component->getIdentifier(); 
    173173                component->addExecParameter(&dt); 
    174174