Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RESTEASY-1905] Async injection (#1504)
* Turned injection into CompletionStage-using API * Expand CompletionStages if required * Support pluggable context injectors * Implement missing methods in Type subtypes * PortProviderUtil defaults to localhost * Alternate test runner to run test in IDE Just use it in place of Arquillian runner, and you can debug it :) * Async injection test * Turn the request async if injected value is not resolved Also provide annotations to the injector * Test async injection from other thread * Do not proxy for async injection * TEst async injection for interfaces * Forgot to include annotation in test * Fixed bug with PatchMethodFilter due to my changes * Test async injection errors * Fix injectedInstance * fix parameterizedtype impl hash/equals to be the same as the jdk * Only do async injection if supported (only supported for resource creation for method invocation) * Test behaviour of post-invoke async resource injection * First pass at supporting pluggable rx types for async injection * Test async injection for rx Single * Second pass at doing async injection for rx * Fix invalid assumptions about CompletionException wrapping * Run async injection test with arquillian runner * Something went wrong in rebasing * Make sure we support async injection of unboxed types * Test primitive injection
- Loading branch information
Showing
87 changed files
with
2,389 additions
and
602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.