You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by jaredmac <jm...@mathworks.com> on 2008/08/22 17:05:32 UTC

Re: Wait for services to be fully registered?


Richard S. Hall wrote:
> 
> Could you send your entire configuration?
> 
> -> richard
> 
> jaredmac wrote:
>> Richard S. Hall wrote:
>>   
>>> No, this is not possible. However, in the config.properties file (or if 
>>> you are embedding a Felix instance, then you pass in the configuration 
>>> properties), you can specify which start level bundles will be installed 
>>> with. Check this document for the configuration properties:
> 

Just to close the loop on this thread, start levels work great to accomplish
what I need. Basically, I did the following:

1. Set the Start Level of the "consumer" GUI client bundle to 10 (arbitrary)
2. Leave the Start Level of the "producer" bundles at 1, their default
3. When Felix is installing bundles, it keeps track of the highest Start
Level it has seen. Then it sets its own Start Level to that value.

I realize this might not be in Felix's "design center," but until our GUI is
ready for more dynamic, asynchronous contribution, this works beautifully.
Thanks for everyone's help.
-- 
View this message in context: http://www.nabble.com/Wait-for-services-to-be-fully-registered--tp17741822p19108780.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Wait for services to be fully registered?

Posted by jaredmac <jm...@mathworks.com>.

Marcel Offermans wrote:
> 
> On Aug 22, 2008, at 17:05 , jaredmac wrote:
> 
>> Just to close the loop on this thread, start levels work great to  
>> accomplish
>> what I need. [...] I realize this might not be in Felix's "design  
>> center," but until our GUI is
>> ready for more dynamic, asynchronous contribution, this works  
>> beautifully.
>> Thanks for everyone's help.
> 
> Not to re-open the discussion, but make sure you go down in start  
> level before updating any bundle to avoid breaking stuff on updates.  
> After the updates, go back up.
> 

Right, thanks. We're far away from updating bundles, but I will keep this in
mind! :)
-- 
View this message in context: http://www.nabble.com/Wait-for-services-to-be-fully-registered--tp17741822p19109728.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Wait for services to be fully registered?

Posted by Marcel Offermans <ma...@luminis.nl>.
On Aug 22, 2008, at 17:05 , jaredmac wrote:

> Just to close the loop on this thread, start levels work great to  
> accomplish
> what I need. [...] I realize this might not be in Felix's "design  
> center," but until our GUI is
> ready for more dynamic, asynchronous contribution, this works  
> beautifully.
> Thanks for everyone's help.

Not to re-open the discussion, but make sure you go down in start  
level before updating any bundle to avoid breaking stuff on updates.  
After the updates, go back up.

Greetings, Marcel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org