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: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to