-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the invoker registration process
This commit removes the ability to obtain an invoker without previous registration. It also removes the concept of registration key: whenever an invoker is registered, the extension must remember it for later use. After that, the `InvokableMethod[Info]` interfaces are useless, hence this commit removes them. Access to invoker registration is through the extension API: `ProcessManagedBean` and `BeanInfo`. Both of these places are provisional; better API for invoker registration likely exists. This commit does not (yet) remove the `MethodMetadata` and `ParameterMetadata` interfaces, because there is one more possible use case for them: the invoker transformers may want to access the called method, including transformed annotations. The API definition currently does not allow that, but it's something that should be explored.
- Loading branch information
Showing
6 changed files
with
49 additions
and
191 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
81 changes: 0 additions & 81 deletions
81
api/src/main/java/jakarta/enterprise/inject/build/compatible/spi/InvokableMethodInfo.java
This file was deleted.
Oops, something went wrong.
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
69 changes: 0 additions & 69 deletions
69
api/src/main/java/jakarta/enterprise/invoke/InvokableMethod.java
This file was deleted.
Oops, something went wrong.