Skip to content

Commit

Permalink
make the section about interceptors with disposer methods more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek authored and manovotn committed Apr 26, 2023
1 parent b3ff532 commit 9f70b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/src/main/asciidoc/core/implementation.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ If a method has more than one parameter annotated `@Disposes`, the container aut
If a disposer method is annotated `@Produces` or `@Inject`, has a parameter annotated `@Observes` or has a parameter annotated `@ObservesAsync`, the container automatically detects the problem and treats it as a definition error.

Interceptors may not declare disposer methods.
If an interceptor has a method annotated `@Disposes`, the container automatically detects the problem and treats it as a definition error.
If an interceptor has a method that has a parameter annotated `@Disposes`, the container automatically detects the problem and treats it as a definition error.

In addition to the disposed parameter, a disposer method may declare additional parameters, which may also specify qualifiers.
These additional parameters are injection points.
Expand Down

0 comments on commit 9f70b15

Please sign in to comment.