org.jboss.ejb.txtimer
Interface RetryPolicy

All Known Subinterfaces:
FixedDelayRetryPolicyMBean
All Known Implementing Classes:
FixedDelayRetryPolicy

public interface RetryPolicy

An implementation can retry the invocation of the ejbTimeout method on a TimedObject. The RetryPolicy is stateless and has no knowledge of the TimedObjectId. It does the invocation through the given TimedObjectInvoker.

Since:
07-Apr-2004
Version:
$Revision: 57209 $
Author:
Thomas.Diesler@jboss.org

Method Summary
 void retryTimeout(TimedObjectInvoker invoker, javax.ejb.Timer timer)
          Invokes the ejbTimeout method on the TimedObject with the given id.
 

Method Detail

retryTimeout

void retryTimeout(TimedObjectInvoker invoker,
                  javax.ejb.Timer timer)
Invokes the ejbTimeout method on the TimedObject with the given id.

Parameters:
invoker - the invoker for the TimedObject
timer - the Timer that is passed to ejbTimeout


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.