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

Allow registering BCE in CDI SE without discovery #817

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

manovotn
Copy link
Contributor

Fixes #813

Adds a new method to SeContainerInitializer which allows users to register build compatible extensions (BCE) without the need for discovery.

I am aware the SeContainerInitializer has two variants of the add method for portable extensions (PE), one of which allows you to pass in pre-initialized PE.
I intentionally skipped that for BCE as those were designed with stricter environments in mind. However, if there is need/want for this we can add it as well.

@manovotn manovotn requested a review from Ladicek May 21, 2024 11:29
@Ladicek
Copy link
Contributor

Ladicek commented May 21, 2024

Apparently the formatter doesn't like the file...?

@manovotn
Copy link
Contributor Author

Apparently the formatter doesn't like the file...?

Eh, not just that, I merely forgot to push the rebased version which also adapts tests with dummy initializer impls.
Should be good now.

@manovotn
Copy link
Contributor Author

I've also added the specification text (just a mention of the method being there) and created a CDI TCK tracking issue (jakartaee/cdi-tck#585).

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.

Add the ability to register BuildCompatibleExtension in CDI SE without discovery
2 participants