Class ConfluenceAutowireInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    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:
    Serialized Form
    • Constructor Detail

      • ConfluenceAutowireInterceptor

        public ConfluenceAutowireInterceptor()
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface com.opensymphony.xwork2.interceptor.Interceptor
      • init

        public void init()
        Specified by:
        init in interface com.opensymphony.xwork2.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