Class ConfluenceAutowireInterceptor

java.lang.Object
com.atlassian.confluence.core.ConfluenceAutowireInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable, org.apache.struts2.interceptor.Interceptor

public final class ConfluenceAutowireInterceptor extends Object implements com.opensymphony.xwork2.interceptor.Interceptor
Intercepts an action created by xwork and autowires dependencies before xwork can execute the action.

If the action implements InitializingBean the InitializingBean.afterPropertiesSet() method will be invoked after autowiring is completed.

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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation)
     

    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.Interceptor

    intercept
  • Constructor Details

    • ConfluenceAutowireInterceptor

      public ConfluenceAutowireInterceptor()
  • Method Details

    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.struts2.interceptor.Interceptor
    • init

      public void init()
      Specified by:
      init in interface org.apache.struts2.interceptor.Interceptor
    • intercept

      public String intercept(com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
      Specified by:
      intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
      Throws:
      Exception