Class LogDiagnosticContextRecoveryInterceptor

  • All Implemented Interfaces:
    org.jboss.invocation.Interceptor

    public final class LogDiagnosticContextRecoveryInterceptor
    extends Object
    implements org.jboss.invocation.Interceptor
    An interceptor which restores the saved logging NDC and MDC for asynchronous invocations.
    Author:
    David M. Lloyd
    • Method Detail

      • getFactory

        public static org.jboss.invocation.ImmediateInterceptorFactory getFactory()
        Get the interceptor factory.
        Returns:
        the interceptor factory
      • processInvocation

        public Object processInvocation​(org.jboss.invocation.InterceptorContext context)
                                 throws Exception
        Specified by:
        processInvocation in interface org.jboss.invocation.Interceptor
        Throws:
        Exception