karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: [DISCUSS] Remove features lifecycle in K4
Date Tue, 14 Apr 2015 07:39:42 GMT
On 14.04.2015 09:32, Guillaume Nodet wrote:
> 2015-04-14 8:52 GMT+02:00 Christian Schneider <chris@die-schneider.net>:
>
>> I was not aware we have this information in the wires. I will try to
>> implement it using these.
>>
>> So what I would do is this:
>> I start with the features to be stopped / started.
>> I then propagate down to the subfeatures / bundles.
>> For each feature processed I compute the state as the highest state of all
>> features that depend on it and the requested state.
>>
>> Does that make sense?
>>
> I think that's exactly what is currently done.
I don't think so. The state to be set is computed from the highest of 
request state and current state of a feature / bundle.
It does not take into account the states of the resources that depend on 
the resource.

Christian


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Mime
View raw message