Class 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 Detail

      • TracedInterceptor

        public TracedInterceptor()
    • 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.