Package com.atlassian.confluence.util
Class LoggingContextInterceptor
- java.lang.Object
-
- com.atlassian.confluence.util.LoggingContextInterceptor
-
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor,Serializable
public class LoggingContextInterceptor extends Object implements com.opensymphony.xwork2.interceptor.Interceptor
XWork interceptor that adds some relevant XWork context to the Log4J Mapped Diagnostic Context- See Also:
LoggingContext, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggingContextInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildLoggingContext(com.opensymphony.xwork2.ActionInvocation actionInvocation)protected voidcleanLoggingContext()voiddestroy()voidinit()Stringintercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)
-
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroyin interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
init
public void init()
- Specified by:
initin interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
- Specified by:
interceptin interfacecom.opensymphony.xwork2.interceptor.Interceptor- Throws:
Exception
-
buildLoggingContext
protected void buildLoggingContext(com.opensymphony.xwork2.ActionInvocation actionInvocation)
-
cleanLoggingContext
protected void cleanLoggingContext()
-
-