|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.txtimer.FixedDelayRetryPolicy
public class FixedDelayRetryPolicy
This service implements a RetryPolicy that retries the call to ejbTimeout after a fixed delay.
Field Summary |
---|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.ejb.txtimer.FixedDelayRetryPolicyMBean |
---|
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
---|---|
FixedDelayRetryPolicy()
|
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 class org.jboss.system.ServiceMBeanSupport |
---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Constructor Detail |
---|
public FixedDelayRetryPolicy()
Method Detail |
---|
public long getDelay()
getDelay
in interface FixedDelayRetryPolicyMBean
public void setDelay(long delay)
setDelay
in interface FixedDelayRetryPolicyMBean
delay
- in mspublic void retryTimeout(TimedObjectInvoker invoker, javax.ejb.Timer timer)
retryTimeout
in interface RetryPolicy
invoker
- The invoker for the TimedObjecttimer
- the Timer that is passed to ejbTimeout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |