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

The service type black list is currently useless #70

Open
arcane86 opened this issue Aug 1, 2011 · 2 comments
Open

The service type black list is currently useless #70

arcane86 opened this issue Aug 1, 2011 · 2 comments
Assignees
Milestone

Comments

@arcane86
Copy link
Collaborator

arcane86 commented Aug 1, 2011

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.

@ghost ghost assigned arcane86 Aug 29, 2011
@arcane86
Copy link
Collaborator Author

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
Copy link
Owner

OK, moving to the next milestone

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