mathieuancelin / weld-osgi

This project aims to provide an OSGi integration for Weld. This project is no longer updated, see https://github.com/weld/core for updates
https://github.com/weld/core
12 stars 10 forks source link

Secure as much as possible CDI-OSGi against OSGi dynamism #58

Open arcane86 opened 13 years ago

arcane86 commented 13 years ago

CDI-OSGi do not test to much that services and bundles are still in the expected state during long processing (e.g when switching between a unregistered factory service and another one, entire CDI-OSGi framework restarts with the assumption that this second factory service is still there).

mathieuancelin commented 12 years ago

Not sure how we can protect against that. Any idea ?

arcane86 commented 12 years ago

We should look at the random ST we get some time during operation on bundle lisfe-cycle.

We should also review the code to find the spot where we do not test if a service is still there when we use it.

It seems also link to issue #71.

arcane86 commented 12 years ago

We need to refactor how ServiceImpl is getting its service instances from OSGi service registry. i'm working on a solution using dynamic proxies like for injected service.