Class LogDiagnosticContextRecoveryInterceptor
java.lang.Object
org.jboss.as.ejb3.component.interceptors.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
-
Field Summary
Fields inherited from interface org.jboss.invocation.Interceptor
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.invocation.ImmediateInterceptorFactoryGet the interceptor factory.Get the interceptor instance.processInvocation(org.jboss.invocation.InterceptorContext context)
-
Method Details
-
getFactory
public static org.jboss.invocation.ImmediateInterceptorFactory getFactory()Get the interceptor factory.- Returns:
- the interceptor factory
-
getInstance
Get the interceptor instance.- Returns:
- the interceptor instance
-
processInvocation
- Specified by:
processInvocationin interfaceorg.jboss.invocation.Interceptor- Throws:
Exception
-