Skip to content

Remove mention of context activation from AfterDeploymentValidation event#705

Merged
manovotn merged 1 commit intojakartaee:mainfrom
manovotn:issue454
Nov 29, 2023
Merged

Remove mention of context activation from AfterDeploymentValidation event#705
manovotn merged 1 commit intojakartaee:mainfrom
manovotn:issue454

Conversation

@manovotn
Copy link
Copy Markdown
Contributor

Fixes #454

This doesn't change functionality, just removes a bit of text potentially causing confusion.
While it is true that contexts aren't activated before this event, there is nothing preventing impls from activating them within this event. In fact, BM#getReference explicitly allows to resolve all beans at this point which means you have to be able to activate contexts anyway.

@manovotn manovotn added this to the CDI 4.1 milestone Nov 28, 2023
@manovotn manovotn requested review from Ladicek and ljnelson November 28, 2023 13:07
@manovotn manovotn merged commit 38265cb into jakartaee:main Nov 29, 2023
@manovotn manovotn deleted the issue454 branch November 29, 2023 10:50
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.

How can getReference() legally be invoked during AfterDeploymentValidation event if contexts have not been created yet?

2 participants