org.fusesource.restygwt.client.callback
Class RetryingCallbackFactory

java.lang.Object
  extended by org.fusesource.restygwt.client.callback.RetryingCallbackFactory
All Implemented Interfaces:
CallbackFactory

public class RetryingCallbackFactory
extends Object
implements CallbackFactory


Constructor Summary
RetryingCallbackFactory(CallbackFilter... callbackFilters)
           
RetryingCallbackFactory(int gracePeriodMillis, int numberOfRetries, CallbackFilter... callbackFilters)
           
 
Method Summary
 FilterawareRequestCallback createCallback(Method method)
          helper method to create the callback with all configurations wanted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryingCallbackFactory

public RetryingCallbackFactory(int gracePeriodMillis,
                               int numberOfRetries,
                               CallbackFilter... callbackFilters)

RetryingCallbackFactory

public RetryingCallbackFactory(CallbackFilter... callbackFilters)
Method Detail

createCallback

public FilterawareRequestCallback createCallback(Method method)
helper method to create the callback with all configurations wanted

Specified by:
createCallback in interface CallbackFactory
Parameters:
method -
Returns:


Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.