felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: Best Practice System Startup
Date Tue, 18 Jun 2013 08:50:12 GMT
Hi

Am 18.06.2013 um 10:42 schrieb Roland:

> BTW: How is the call-order of Activator-classes defined?

What Activator classes ? The BundleActivator's ?

These are called during bundle startup as defined in the Bundle lifecycle part of the Core
specification. As such they depend on the order of bundle startup. This startup is influenced
by the StartLevel service and other factors.

At the end of the day, your bundles must not depend on any particular order because in any
deployment that order may be different. Plus: A bundle may be stopped at any time -- so even
if you somehow can cope with the actual startup order, expectations due to startup order may
fail due to such situations.

Hence, again: As a Bundle developer you must not depend on startup order.

Regards
Felix


> 
> Thanks
> Roland
> 
> 
> 
> --
> View this message in context: http://apache-felix.18485.x6.nabble.com/Best-Practice-System-Startup-tp5003987p5003990.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
> 


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


Mime
View raw message