Class TracedInterceptor
- java.lang.Object
-
- fish.payara.microprofile.opentracing.cdi.TracedInterceptor
-
- All Implemented Interfaces:
Serializable
@Interceptor @Traced @Priority(4000) public class TracedInterceptor extends Object implements Serializable
Interceptor for MicroProfile Traced annotation.- Author:
- Andrew Pielage
, David Matejcek - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TracedInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
traceCdiCall(jakarta.interceptor.InvocationContext invocationContext)
If the tracing is enabled and possible for the invoked method, traces it's execution.
-
-
-
Method Detail
-
traceCdiCall
public Object traceCdiCall(jakarta.interceptor.InvocationContext invocationContext) throws Exception
If the tracing is enabled and possible for the invoked method, traces it's execution. If not, only executes the invocation context.- Parameters:
invocationContext
- the context to be executed- Returns:
- result of the invocation context execution.
- Throws:
Exception
- any execution thrown from the invocation context execution.
-
-