User Tools

Site Tools


dynamic_linking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dynamic_linking [2014/01/06 07:09]
barryfp
dynamic_linking [2014/01/16 08:54]
barryfp
Line 46: Line 46:
  
 <div justify> <div justify>
-The above fragment specifies the creation of a component instance named "​App"​ from the component contained in the file ''​app.o''​. The Timer required ​object type of this component should be connected to another component instance named "​Timer"​ if and when such a component exists in the system.+The above fragment specifies the creation of a component instance named "​App"​ from the component contained in the file ''​app.o''​. The Timer required ​interface ​of this component should be connected to another component instance named "​Timer"​ if and when such a component exists in the system.
 </​div>​ </​div>​
  
Line 125: Line 125:
  
 <div justify> <div justify>
-And program execution will resume as normal. This demonstrates the basis of Dana's ability to control software structure at runtime by connecting the required ​object types of a component to compatible provided ​object types of other components. The [[Runtime evolution|runtime evolution]] tutorial covers swapping dependencies out during execution.+And program execution will resume as normal. This demonstrates the basis of Dana's ability to control software structure at runtime by connecting the required ​interfaces ​of a component to compatible provided ​interfaces ​of other components. The [[Runtime evolution|runtime evolution]] tutorial covers swapping dependencies out during execution.
 </​div>​ </​div>​
  
 <div justify> <div justify>
-Finally, you may have noticed by now that some required ​object types are automatically linked to implementations. Examples of this are ''​io.Ouput''​ and ''​data.IntUtil''​. If a component has any required ​object types of these types they are automatically linked directly against implementations in the Dana interpreter. However, you can still override these links if you want by specifying alternative implementations to connect to in the usual way.+Finally, you may have noticed by now that some required ​interfaces ​are automatically linked to implementations. Examples of this are ''​io.Ouput''​ and ''​data.IntUtil''​. If a component has any required ​interfaces ​of these types they are automatically linked directly against implementations in the Dana interpreter. However, you can still override these links if you want by specifying alternative implementations to connect to in the usual way.
 </​div>​ </​div>​
dynamic_linking.txt ยท Last modified: 2014/01/16 08:54 by barryfp