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

Why does a @ConfigProperties annotation on a class prevent Weld SE bean management? #752

Open
space88man opened this issue Sep 10, 2022 · 1 comment
Milestone

Comments

@space88man
Copy link

Description

I have a class decorated with @ConfigProperties; this is a no-args constructor class.
Thinking I could reuse the class for some @Produces methods, I found that Weld SE
doesn't recognise the class as a managed bean.

If I remove the @ConfigProperties annotation the class is recognised to be managed.

@Emily-Jiang
Copy link
Member

The class with @ConfigProperties should always be a bean. Do you have a reproduce for this?

@Emily-Jiang Emily-Jiang added this to the Config 4.0 milestone Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants