> BJ> > Could you tell me which descriptions in the spec address the use 
of 
> BJ> > static policy with 
> BJ> > multiple cardinality in order to answer Q1 and Q2 ?
> BJ> 
> BJ> See 112.5.7: "When a component configuration's reference is 
satisfied, 
> BJ> there is a set of 
> BJ> zero or more target services for that reference. When the component 
> BJ> config- 
> BJ> uration is activated, a subset of the target services for each 
reference 
> BJ> are 
> BJ> bound to the component configuration. The subset is chosen by the 
cardi- 
> BJ> nality of the reference. See Reference Cardinality on page306."
> 
> Although I understand the underlieing  idea, 
> I don't think I am convinced completely regarding the description ofthe 
spec.
> 
> I don't see any discription in the spec about the case that 
> a new target service to be bound gets found while a componet
> configuration still keeps satisfied.
> 
> Please think about Q2 I had posted.
> 
> According to the description in "112.5.2 Satisfied", 
> the all three conditions described in 112.5.2 still keep true and 
> the component configuration will NOT become unsatisfied.
> 
> Therefore it should not be deactivated for answer of Q2.
> 
> I mean, the spec should be clarified for this point, shouldn't it?

You are right. I misspoke in my prior mail for Q2. In Q2 then, since the 
component is satisfied, when a new service A is registered, the component 
should remain activated.

-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[email protected]

office: +1 386 848 1781
mobile: +1 386 848 3788
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to