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

The service type black list is currently useless #70

Open arcane86 opened 13 years ago

arcane86 commented 13 years ago

CDI-OSGi defines a black list for disallowed service types but it is currently useless.

We should remove it or provide a mechanism to allow the client to customize it.

arcane86 commented 13 years ago

The black list is actually used by the ServicePublisher and obtained from the CDIContainerFactory service in use.

I see three possibilities : We stick with this solution, meaning that the blacklist in use is hard coded in the implementation bundle. We remove the blacklist from the CDIContainerFactory API and hard code it in the ServicePublisher. *We provide a way for the user to provide its own blacklist to the factory every time a CDI container is needed.

Currently working but imo it seems not achieved. No matter we can switch this issue to a later millstone.

mathieuancelin commented 13 years ago

OK, moving to the next milestone