com.atlassian.confluence.core
Class ConfluenceAutowireInterceptor

java.lang.Object
  extended by com.atlassian.confluence.core.ConfluenceAutowireInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public final class ConfluenceAutowireInterceptor
extends Object
implements com.opensymphony.xwork.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.


Constructor Summary
ConfluenceAutowireInterceptor()
           
 
Method Summary
 void destroy()
           
 void init()
           
 String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceAutowireInterceptor

public ConfluenceAutowireInterceptor()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface com.opensymphony.xwork.interceptor.Interceptor

init

public void init()
Specified by:
init in interface com.opensymphony.xwork.interceptor.Interceptor

intercept

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.