Class ConfluenceAutowireInterceptor

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

public final class ConfluenceAutowireInterceptor extends Object implements org.apache.struts2.interceptor.Interceptor
Intercepts an action created by Struts and autowires dependencies before its execution.

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

See Also:
  • 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(org.apache.struts2.ActionInvocation actionInvocation) throws Exception
      Specified by:
      intercept in interface org.apache.struts2.interceptor.Interceptor
      Throws:
      Exception