-
Notifications
You must be signed in to change notification settings - Fork 77
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
Programmatic lookup improvements #521
Comments
I am especially +1 for The latter two I'd personally keep outside of spec, but if people want it, we can add it as well. I just haven't seen such demand and/or usage of those two. |
OK so the
Out of these 3 operations, 2 of them are already supported by I see you can get bean metadata from I guess it would have been possible to design |
The main point of
Yea, but like you say, that's breaking. especially because current spec wording requires that iteration over |
FTR the Weld variant also includes the
The Quarkus variant returns |
I wouldn't call it "just a convenience", because if you In any case, I just wanted to clarify for myself, and thought perhaps that would be useful for someone else too :-) |
FTR this issue was discussed during CDI meeting yesterday. |
Both the reference implementation (Weld) and ArC have an enhanced version of
javax.enterprise.inject.Instance
that provide features that might be worth adding to the spec.Instance#getHandler()
(name TBC)Bean<?>
) of the relevant bean and to destroy the underlying contextual instance.Instance#handlers()
(name TBC)Iterable
of handlers described above.select()
method that acceptsjava.lang.reflect.Type
Instance#get()
See also Weld docs about
WeldInstance
- Enhanced version of jakarta.enterprise.inject.Instance.The text was updated successfully, but these errors were encountered: