These seem like bugs in Eclipselink and your DOSGi implementation. The
extender pattern should apply to bundles started before AND after the
extender bundle.

Justin

On Jan 29, 2010, at 1:12 PM, Joel Schuster <[email protected]> wrote:

> Just to clarify. The reason I run into problems is that there are no
> direct dependencies between some bundles.
>
> Example:
>
> DB bundle that has a persistence.xml needs to be loaded AFTER
> Eclipselink bundle that resisters for notification of DB bundles
> being loaded so that it can go and look for the xml file. If
> Eclipselink is loaded after DB bundle then the persistence context
> is not available to some other bundle that uses Eclipselink and DB
> bundle directly.
>
> This is also true for DOSGI, it has to be loaded before any bundles
> that might have declarations to expose a service as a web service.
> If the bundle that's trying to be exposed gets loaded first then
> DOSGI will miss it's opportunity.
>
> - Joel
>
> -----Original Message-----
> From: Joel Schuster [mailto:[email protected]]
> Sent: Friday, January 29, 2010 11:00 AM
> To: [email protected]
> Subject: FileInstall at different start levels
>
> Is there any way to have multiple different FileInstall instances
> have different start levels?
>
> I'm using FileInstall with multiple cfgs (up to 10), each monitoring
> different bundle/config directories depending on how I need to
> configure my run time.
>
> I'm running into cases where one set needs to be all started before
> another set of bundles come up.
>
> Any suggestions?
>
> ---------------------------------------------------------------------
> 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