Package com.atlassian.confluence.util
Class LoggingContextInterceptor
java.lang.Object
com.atlassian.confluence.util.LoggingContextInterceptor
- All Implemented Interfaces:
Serializable
,org.apache.struts2.interceptor.Interceptor
public class LoggingContextInterceptor
extends Object
implements org.apache.struts2.interceptor.Interceptor
XWork interceptor that adds some relevant XWork context to the Log4J Mapped Diagnostic Context
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildLoggingContext
(org.apache.struts2.ActionInvocation actionInvocation) protected void
void
destroy()
void
init()
intercept
(org.apache.struts2.ActionInvocation actionInvocation)
-
Constructor Details
-
LoggingContextInterceptor
public LoggingContextInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
init
in interfaceorg.apache.struts2.interceptor.Interceptor
-
intercept
- Specified by:
intercept
in interfaceorg.apache.struts2.interceptor.Interceptor
- Throws:
Exception
-
buildLoggingContext
protected void buildLoggingContext(org.apache.struts2.ActionInvocation actionInvocation) -
cleanLoggingContext
protected void cleanLoggingContext()
-