Package com.atlassian.confluence.util
Class LoggingContextInterceptor
java.lang.Object
com.atlassian.confluence.util.LoggingContextInterceptor
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor,Serializable,org.apache.struts2.interceptor.Interceptor
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
com.opensymphony.xwork2.interceptor.Interceptor.LegacyAdapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildLoggingContext(com.opensymphony.xwork2.ActionInvocation actionInvocation) protected voidvoiddestroy()voidinit()intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
intercept
-
Constructor Details
-
LoggingContextInterceptor
public LoggingContextInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
initin interfaceorg.apache.struts2.interceptor.Interceptor
-
intercept
- Specified by:
interceptin interfacecom.opensymphony.xwork2.interceptor.Interceptor- Throws:
Exception
-
buildLoggingContext
protected void buildLoggingContext(com.opensymphony.xwork2.ActionInvocation actionInvocation) -
cleanLoggingContext
protected void cleanLoggingContext()
-