Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arcane86 opened this issue Jul 6, 2011 · 3 comments
Open

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

arcane86 opened this issue Jul 6, 2011 · 3 comments
Assignees
Milestone

Comments

@arcane86
Copy link
Collaborator

arcane86 commented Jul 6, 2011

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).

@ghost ghost assigned arcane86 Jul 6, 2011
@mathieuancelin
Copy link
Owner

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

@arcane86
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants