org.jbpm.wire.binding
Class RetryInterceptorDescriptor

java.lang.Object
  extended by org.jbpm.util.DefaultObservable
      extended by org.jbpm.wire.descriptor.AbstractDescriptor
          extended by org.jbpm.wire.binding.RetryInterceptorDescriptor
All Implemented Interfaces:
java.io.Serializable, Observable, Descriptor

public class RetryInterceptorDescriptor
extends AbstractDescriptor

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.wire.descriptor.AbstractDescriptor
dbid, dbversion, init, INIT_EAGER, INIT_IMMEDIATE, INIT_LAZY, INIT_REQUIRED, name, version
 
Fields inherited from class org.jbpm.util.DefaultObservable
listeners
 
Fields inherited from interface org.jbpm.wire.Descriptor
EVENT_CONSTRUCTED, EVENT_CONSTRUCTING, EVENT_INITIALIZING, EVENT_REMOVE, EVENT_SET
 
Constructor Summary
RetryInterceptorDescriptor()
           
 
Method Summary
 java.lang.Object construct(WireContext wireContext)
          constructs the object.
 void setDelay(long delay)
           
 void setDelayFactor(long delayFactor)
           
 void setRetries(int retries)
           
 
Methods inherited from class org.jbpm.wire.descriptor.AbstractDescriptor
getDbid, getName, getType, initialize, isDelayable, isEagerInit, setInit, setName
 
Methods inherited from class org.jbpm.util.DefaultObservable
addListener, addListener, addListener, fire, fire, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.util.Observable
addListener, addListener, addListener, fire, fire, removeListener
 

Constructor Detail

RetryInterceptorDescriptor

public RetryInterceptorDescriptor()
Method Detail

construct

public java.lang.Object construct(WireContext wireContext)
Description copied from interface: Descriptor
constructs the object.

Parameters:
wireContext - WireContext in which the object is created. This is also the WireContext where the object will search for other object that may be needed during the initialization phase.
Returns:
the constructed object.

setRetries

public void setRetries(int retries)

setDelay

public void setDelay(long delay)

setDelayFactor

public void setDelayFactor(long delayFactor)