com.atlassian.confluence.util
Class LoggingContextInterceptor
java.lang.Object
com.atlassian.confluence.util.LoggingContextInterceptor
- All Implemented Interfaces:
- Interceptor
public class LoggingContextInterceptor
- extends Object
- implements Interceptor
XWork interceptor that adds some relevant XWork context to the Log4J Mapped Diagnostic Context
- See Also:
PatternLayoutWithContext
,
MDC
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingContextInterceptor
public LoggingContextInterceptor()
destroy
public void destroy()
- Specified by:
destroy
in interface Interceptor
init
public void init()
- Specified by:
init
in interface Interceptor
intercept
public String intercept(ActionInvocation actionInvocation)
throws Exception
- Specified by:
intercept
in interface Interceptor
- Throws:
Exception
buildLoggingContext
protected void buildLoggingContext(ActionInvocation actionInvocation)
cleanLoggingContext
protected void cleanLoggingContext()