Class MessageLoadingPreResultListener

java.lang.Object
com.atlassian.confluence.validation.MessageLoadingPreResultListener
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.PreResultListener, org.apache.struts2.interceptor.PreResultListener

public class MessageLoadingPreResultListener extends Object implements com.opensymphony.xwork2.interceptor.PreResultListener
Loads MessageHolder messages into a ConfluenceActionSupport instance after Action execution but before Result execution.

See DefaultActionInvocation for how this works.

Since:
4.2.4
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.PreResultListener

    com.opensymphony.xwork2.interceptor.PreResultListener.LegacyAdapter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beforeResult(com.opensymphony.xwork2.ActionInvocation invocation, String resultCode)
     
    static com.opensymphony.xwork2.interceptor.PreResultListener
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.opensymphony.xwork2.interceptor.PreResultListener

    beforeResult
  • Method Details

    • getInstance

      public static com.opensymphony.xwork2.interceptor.PreResultListener getInstance()
    • beforeResult

      public void beforeResult(com.opensymphony.xwork2.ActionInvocation invocation, String resultCode)
      Specified by:
      beforeResult in interface com.opensymphony.xwork2.interceptor.PreResultListener