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

ArC build-time metadata - make it possible to query the registered beans #5653

Closed
mkouba opened this issue Nov 21, 2019 · 1 comment · Fixed by #5830
Closed

ArC build-time metadata - make it possible to query the registered beans #5653

mkouba opened this issue Nov 21, 2019 · 1 comment · Fixed by #5830
Labels
area/arc Issue related to ARC (dependency injection) kind/enhancement New feature or request
Milestone

Comments

@mkouba
Copy link
Contributor

mkouba commented Nov 21, 2019

Currently, an extension can obtain the list of all beans from the BuildExtension.BuildContext and filter it manually. It could be useful (and more efficient) to provide some query API, e.g. to find all beans that have a specific type in the set of bean types.

@mkouba mkouba added kind/enhancement New feature or request area/arc Issue related to ARC (dependency injection) labels Nov 21, 2019
@FroMage
Copy link
Member

FroMage commented Nov 21, 2019

Cool!

mkouba added a commit to mkouba/quarkus that referenced this issue Nov 28, 2019
- convenient Stream wrapper that can be used to filter beans
- allow for inspecting removed beans in BeanDeploymentValidator
- also make it possible to mark a synthetic bean as unremovable
- resolves quarkusio#5653
@mkouba mkouba added this to the 1.1.0 milestone Nov 28, 2019
mkouba added a commit to mkouba/quarkus that referenced this issue Nov 29, 2019
- convenient Stream wrapper that can be used to filter beans
- allow for inspecting removed beans in BeanDeploymentValidator
- also make it possible to mark a synthetic bean as unremovable
- resolves quarkusio#5653
mkouba added a commit to mkouba/quarkus that referenced this issue Nov 29, 2019
- convenient Stream wrapper that can be used to filter beans
- allow for inspecting removed beans in BeanDeploymentValidator
- also make it possible to mark a synthetic bean as unremovable
- resolves quarkusio#5653
mmusgrov pushed a commit to mmusgrov/quarkus that referenced this issue Dec 13, 2019
- convenient Stream wrapper that can be used to filter beans
- allow for inspecting removed beans in BeanDeploymentValidator
- also make it possible to mark a synthetic bean as unremovable
- resolves quarkusio#5653
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants