Skip to content

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

@space88man

Description

@space88man

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions