Class LogDiagnosticContextStorageInterceptor

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

    public final class LogDiagnosticContextStorageInterceptor
    extends Object
    implements org.jboss.invocation.Interceptor
    An interceptor which saves the 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 for this interceptor.
        Returns:
        the interceptor factory for this interceptor
      • processInvocation

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