Conversation
|
FYI: Conflicts |
|
Conflicts resolved, thanks! |
|
@Pandrex247 Any updates on this? It's the "next on the priority list" of my PRs. Thank you :) |
|
@Pandrex247 @stian-sigvartsen |
|
ping...thank you! |
… get loaded properly
31c8009 to
8543d9b
Compare
|
@Pandrex247 @stian-sigvartsen Please bump... thank you |
|
Need to sit down with this and a debugger (and run through the reproducer). |
|
No. This just loads bundle. This doesn't start anything. |
Surely it does? Getting the service will call its post construct, which will create and start a web container |
|
I believe that in this code path, the startup level is below the one that triggers post-construct callbacks. But in any case, this should not introduce any additional issues, as web containers "starts" in similar sequence even without the "triggering" getService() call - i.e. no bad sideffects, |
… get loaded properly
fixes #7655
Description
This is a bugfix.
This PR forces loading of WebContainer (if exists) prior to HK2 class scanning.
If this is not done, classes such as @RegisterRestClient that are not directly CDI beans (but are @stereotypes) will not correctly register as valid CDI beans, and deployments will fail in postboot or when starting the server with applications already deployed.