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

Weld-2772 Allow to register BCE in Weld SE without discovery #2979

Merged
merged 2 commits into from
May 17, 2024

Conversation

manovotn
Copy link
Contributor

@manovotn manovotn commented May 15, 2024

Add the ability to manually register BCE in Weld SE without the need to perform discovery.

I believe this should eventually bubble up to SeContainerInitializer and be part of the CDI SE API (cc @Ladicek; this is something I mentioned a [long] while ago)
We already have similar methods in place for portable extensions.

@Ladicek
Copy link
Contributor

Ladicek commented May 15, 2024

I don't really know much about CDI SE, but that makes sense to me.

Replace remaining usages of long deprecated Class#newInstance() with getDeclaredConstructor().newInstance().
@manovotn manovotn merged commit d744b62 into weld:5.1 May 17, 2024
16 checks passed
@manovotn manovotn deleted the weld2772_51 branch May 17, 2024 11:32
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

Successfully merging this pull request may close these issues.

2 participants