Skip to content

Access CDI beans from BeanStep route handler for Quarkus extension #46564

Answered by Ladicek
jfbenckhuijsen asked this question in Q&A
Discussion options

You must be logged in to vote

CDI.current() or Arc.container() is probably the best option if the caller is not a CDI bean.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@manovotn
Comment options

manovotn Mar 4, 2025
Collaborator

Answer selected by jfbenckhuijsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/arc Issue related to ARC (dependency injection)
3 participants