Package com.atlassian.confluence.core
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
ConfluenceAutowireInterceptor
public ConfluenceAutowireInterceptor()
-
-
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 interfaceorg.apache.struts2.interceptor.Interceptor- Throws:
Exception
-