From 9f70b15c97a6ebe01b0acf7da185c1ccb9bbd9db Mon Sep 17 00:00:00 2001 From: Ladislav Thon Date: Tue, 25 Apr 2023 17:17:30 +0200 Subject: [PATCH] make the section about interceptors with disposer methods more precise --- spec/src/main/asciidoc/core/implementation.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/src/main/asciidoc/core/implementation.asciidoc b/spec/src/main/asciidoc/core/implementation.asciidoc index f4611cc5..4b41305b 100644 --- a/spec/src/main/asciidoc/core/implementation.asciidoc +++ b/spec/src/main/asciidoc/core/implementation.asciidoc @@ -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.