No sorry this is not right. Alex and Tom’s answer was correct. Please refer to 
section 4.4.6.2 of the OSGi Core R6 specification for details of the Lazy 
Activation Policy and its impact on bundle lifecycle.

Unsatisfied imports such as in your example would cause a failure of 
resolution, leaving the bundle in INSTALLED state.

Regards,
Neil


> On 12 May 2015, at 11:29, Pablo Beltran <[email protected]> wrote:
> 
> Hmm, I would say they remain on such state due a missing class (or any other 
> problem while loading B in memory)
> 
> For instance, plugin A imports class B which imports class C. If C is not 
> available A will remain in the Starting state for ever. 
> El 12/5/2015 11:49, "Lars Vogel" <[email protected] 
> <mailto:[email protected]>> escribió:
> Thanks Alex and Tom for the clarification.
> 
> Best regards, Lars
> 
> On Fri, May 8, 2015 at 3:14 PM, Thomas Watson <[email protected] 
> <mailto:[email protected]>> wrote:
> Alex is correct.  Things in the STARTING state are waiting to be lazily 
> activated on first class define.
> 
> Tom
> 
> [email protected] <mailto:[email protected]> 
> wrote: -----
> To: Equinox development mailing list <[email protected] 
> <mailto:[email protected]>>
> From: Alex Blewitt 
> Sent by: [email protected] 
> <mailto:[email protected]>
> Date: 05/07/2015 04:40PM
> Subject: Re: [equinox-dev] Bundles remaining in life cyle "Starting".
> 
> 
> I think they’re placed into that state if they are lazily started, i.e. they 
> have a BundleActivationPolicy of ‘lazy’. 
> 
> http://www.osgi.org/Design/LazyStart <http://www.osgi.org/Design/LazyStart>
> http://wiki.osgi.org/wiki/Bundle-ActivationPolicy 
> <http://wiki.osgi.org/wiki/Bundle-ActivationPolicy>
> 
> I think it goes from ‘starting’ to ‘started’ when classes have been loaded 
> from the bundle.
> 
> Alex
> 
> On 7 May 2015, at 22:31, Lars Vogel <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Hi,
>> 
>> I frequently see lots of bundles remaining in the life cyle status 
>> "Starting". Is this expected? I would assume that "Starting" is a temporary 
>> status and that once a bundle has finished starting, it becomes "Active".
>> 
>> Best regards, Lars
>> 
>> -- 
>> 
>> Eclipse Platform and e4 project co-lead
>> vogella GmbH CEO
>> 
>> Haindaalwisch 17a, 22395 Hamburg
>> Amtsgericht Hamburg: HRB 127058
>> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
>> USt-IdNr.: DE284122352
>> Fax (032) 221739404 <tel:%28032%29%20221739404>, Email: 
>> [email protected] <mailto:[email protected]>, Web: 
>> http://www.vogella.com <http://www.vogella.com/>
>> _______________________________________________
>> equinox-dev mailing list
>> [email protected] <mailto:[email protected]>
>> To change your delivery options, retrieve your password, or unsubscribe from 
>> this list, visit
>> https://dev.eclipse.org/mailman/listinfo/equinox-dev 
>> <https://dev.eclipse.org/mailman/listinfo/equinox-dev>
> _______________________________________________
> equinox-dev mailing list
> [email protected] <mailto:[email protected]>
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev 
> <https://dev.eclipse.org/mailman/listinfo/equinox-dev>
> _______________________________________________
> equinox-dev mailing list
> [email protected] <mailto:[email protected]>
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev 
> <https://dev.eclipse.org/mailman/listinfo/equinox-dev>
> 
> 
> 
> -- 
> Geschäftsführer
> 
> vogella GmbH
> 
> Haindaalwisch 17a, 22395 Hamburg
> Amtsgericht Hamburg: HRB 127058
> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
> USt-IdNr.: DE284122352
> Fax (032) 221739404, Email: [email protected] 
> <mailto:[email protected]>, Web: http://www.vogella.com 
> <http://www.vogella.com/>
> 
> _______________________________________________
> equinox-dev mailing list
> [email protected] <mailto:[email protected]>
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev 
> <https://dev.eclipse.org/mailman/listinfo/equinox-dev>
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to