org.eclipse.gemini.blueprint.service.importer.support.internal.support
Class DefaultRetryCallback<T>

java.lang.Object
  extended by org.eclipse.gemini.blueprint.service.importer.support.internal.support.DefaultRetryCallback<T>
All Implemented Interfaces:
RetryCallback<T>

public abstract class DefaultRetryCallback<T>
extends Object
implements RetryCallback<T>

Implementation for cases where the work completition is given by the non-nullity of the returned object.

Author:
Costin Leau

Constructor Summary
DefaultRetryCallback()
           
 
Method Summary
 boolean isComplete(T result)
          Returns true if the work has been completed or false is a retry is required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.gemini.blueprint.service.importer.support.internal.support.RetryCallback
doWithRetry
 

Constructor Detail

DefaultRetryCallback

public DefaultRetryCallback()
Method Detail

isComplete

public boolean isComplete(T result)
Description copied from interface: RetryCallback
Returns true if the work has been completed or false is a retry is required.

Specified by:
isComplete in interface RetryCallback<T>
Returns:


Copyright © 2006-2012. All Rights Reserved.