Skip to content

Commit

Permalink
ArC: improve javadoc for InvocationContext implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Apr 19, 2023
1 parent ef52dab commit e9a489d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import io.quarkus.arc.ArcInvocationContext;

/**
* An {@link javax.interceptor.InvocationContext} for {@link javax.interceptor.AroundInvoke} interceptors.
* An {@link jakarta.interceptor.InvocationContext} for {@link jakarta.interceptor.AroundInvoke} interceptors.
* <p>
* A new instance is created for the first interceptor in the chain. Furthermore, subsequent interceptors receive a new instance
* of {@link NextAroundInvokeInvocationContext}. This does not comply with the spec but allows for "asynchronous continuation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

import io.quarkus.arc.ArcInvocationContext;

/**
* Invocation context for an "inner" invocation chain, consisting of interceptor methods declared
* in one class and its superclasses. It doesn't proceed to other interceptors in the "outer" invocation
* chain (interceptor methods declared in other classes).
*/
abstract class InnerInvocationContext implements ArcInvocationContext {

protected final ArcInvocationContext delegate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import java.util.Set;

/**
* A simple stateful {@link javax.interceptor.InvocationContext} implementation used for {@link javax.annotation.PostConstruct}
* and {@link javax.annotation.PreDestroy} callbacks.
* A simple stateful {@link jakarta.interceptor.InvocationContext} implementation used for
* {@link jakarta.annotation.PostConstruct} and {@link jakarta.annotation.PreDestroy} callbacks.
* <p>
* All lifecycle callback interceptors of a specific chain must be invoked on the same thread.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import jakarta.interceptor.InvocationContext;

/**
* A special {@link javax.interceptor.InvocationContext} that is used if multiple interceptor methods are declared in a
* A special {@link jakarta.interceptor.InvocationContext} that is used if multiple interceptor methods are declared in a
* hierarchy of an interceptor class.
* <p>
* The interceptor methods defined by the superclasses are invoked before the interceptor method defined by the interceptor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import jakarta.interceptor.InvocationContext;

/**
* A special {@link javax.interceptor.InvocationContext} that is used for around invoke methods declared in a hierarchy of a
* A special {@link jakarta.interceptor.InvocationContext} that is used for around invoke methods declared in a hierarchy of a
* target class.
* <p>
* The interceptor methods defined by the superclasses are invoked before the interceptor method defined by the interceptor
Expand Down

0 comments on commit e9a489d

Please sign in to comment.