Class LogDiagnosticContextStorageInterceptor

java.lang.Object
org.jboss.as.ejb3.component.interceptors.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 Details

    • getFactory

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

      public static LogDiagnosticContextStorageInterceptor getInstance()
      Get this interceptor instance.
      Returns:
      this interceptor instance
    • processInvocation

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