com.atlassian.bamboo.ww2.interceptors
Class ExecAndWaitWithJSONStatusUpdateInterceptor

java.lang.Object
  extended by com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor
      extended by com.atlassian.bamboo.ww2.interceptors.ExecAndWaitWithJSONStatusUpdateInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor, java.io.Serializable

public class ExecAndWaitWithJSONStatusUpdateInterceptor
extends com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor

Allows ajax status requests when using the ExecAndWaitInterceptor for long running tasks.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor
delay, delaySleepInterval, KEY, WAIT
 
Constructor Summary
ExecAndWaitWithJSONStatusUpdateInterceptor()
           
 
Method Summary
 java.lang.String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor
destroy, getNewBackgroundProcess, init, performInitialDelay, setDelay, setDelaySleepInterval, setThreadPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecAndWaitWithJSONStatusUpdateInterceptor

public ExecAndWaitWithJSONStatusUpdateInterceptor()
Method Detail

intercept

public java.lang.String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
                           throws java.lang.Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Overrides:
intercept in class com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor
Throws:
java.lang.Exception


Copyright © 2011 Atlassian. All Rights Reserved.