...
1) Two components are implemented by the same composite
Path a: Composite1.ComponentB is implemented by Composite3
Path b: Composite2.ComponentD is implemented by Composite3
The service/reference can be promoted to different things:
a: the final target for the ComponentF.Reference1 is Composite1.ComponentA
b: the final target for the ComponentF.Reference1 is Composite1.Reference1 (pointing to an external service)
The property can be set to different value following different composition path:
a: Composite3.ComponentE.Property1 is overrided by Composite1.ComponentB.Property1 (say value="ABC")
b: Composite3.ComponentE.Property1 is overrided by Composite2.ComponentD.Property1 (say value="XYZ")
To represent the fully-configured components, we need to clone the model for Composite3 for Path a and b so that it can be used to hold different resolved values.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Hi, I'm trying to indentify all the paths of SCA component interactions which By the SCA spec, there are three cases for the wiring: 1) Component.Reference (A.ref1) -is wired to-> Component.Service (B.svc1) 1.2) If the service is defined on a composite component, then it can be For example, A.ref1 --> B.svc1 (B is implemented by another composite and 1.3) If the reference is defined on a composite component, then it can be For example, A.ref1 --> B.svc1 (A is implemented by another composite and 2) Composite.Reference (Composite1.ref1) -promotes-> Component.Reference If Composite1 is used to implement a component A in Composite2, then we need If B is a composite component, then we need to find out the final component 3) Composite.Service (Composite1.svc1) -promotes-> Component.Service The target will be the innermost service on the promotion chain. For
Based on the above scenarios, it seems that we can create runtime wires 1) Runtime wire for references: For each of the references (r1) on 2) Runtime wire for service promotions: For each of the service1 (s1) on The service/reference promotions make the picture complicated. I hope my Thanks, |