Executable instance tables for Client with A1 and A2 instances (dependency injection)

Gallery
Tutorial
Now the simulation is run in Magic Model Analyst® (Cameo Simulation Toolkit®) with instances of Client configured ("injected") with the various instances of A1 and A2:
Click on the image to view it full size

The tables show before and after execution of the Parametrics calculations. They have been executed here directly from the MagicDraw table diagrams across all rows of each table.

Consider our definition of Dependency Injection:

Here the author of the table has decided which concrete implementation of the service I_A will be executed for each instance of Client; all the client knows is that it can access the value of o through its reference a : I_A.

Up next
Notes
Snippets (quotes/extracts)
Visit also
Visit also (backlinks)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)