Research Article

Models and Frameworks: A Synergistic Association for Developing Component-Based Applications

Algorithm 5

Skeleton of the OSGi implementation of the example shown in Figure 4 (description of the architecture).
(1) <ipojo>
(2) <component classname  =  “C_Simulator>
(3) <requieres field  =  “portCollision/>
(4) <callback method  =  “run/>
(5) </component>
(6) <instance component  =  “cSimulator/>
(7) </ipojo>