org.jboss.ejb.txtimer
Interface FixedDelayRetryPolicyMBean

All Superinterfaces:
RetryPolicy, org.jboss.system.Service
All Known Implementing Classes:
FixedDelayRetryPolicy

public interface FixedDelayRetryPolicyMBean
extends org.jboss.system.Service, RetryPolicy

MBean interface.

Since:
07-Apr-2004

Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Method Summary
 long getDelay()
          Get the delay for retry
 void retryTimeout(TimedObjectInvoker invoker, javax.ejb.Timer timer)
          Invokes the ejbTimeout method on the TimedObject with the given id.
 void setDelay(long delay)
          Set the delay for retry
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
Method Detail

getDelay

long getDelay()
Get the delay for retry

Returns:
delay in ms

setDelay

void setDelay(long delay)
Set the delay for retry

Parameters:
delay - in ms

retryTimeout

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

Specified by:
retryTimeout in interface RetryPolicy
Parameters:
invoker - The invoker for the TimedObject
timer - the Timer that is passed to ejbTimeout


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