-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add convenient ArcContainer.listAll() methods #25061
Conversation
mkouba
commented
Apr 21, 2022
- i.e. programmatic lookup for io.quarkus.arc.All
Previously you'd need to use something like |
independent-projects/arc/runtime/src/main/java/io/quarkus/arc/ArcContainer.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Out of curiosity, is this basically identical to InjectableInstance.select(...).handles()
?
More or less, but |
Ah ah, I see, so |
20b85ba
to
5f77cfc
Compare
This comment has been minimized.
This comment has been minimized.
5f77cfc
to
44249d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
independent-projects/arc/runtime/src/main/java/io/quarkus/arc/ArcContainer.java
Outdated
Show resolved
Hide resolved
independent-projects/arc/runtime/src/main/java/io/quarkus/arc/All.java
Outdated
Show resolved
Hide resolved
- i.e. programmatic lookup for io.quarkus.arc.All Co-authored-by: Matej Novotny <[email protected]>
88b4be7
to
ad10241
Compare