org.openejb.timer
Class UnavailableTimerService

java.lang.Object
  extended byorg.openejb.timer.UnavailableTimerService
All Implemented Interfaces:
BasicTimerService

public final class UnavailableTimerService
extends Object
implements BasicTimerService

Version:
$Rev: 445190 $ $Date: 2005-02-14 19:32:32 +0100 (Mon, 14 Feb 2005) $

Field Summary
static BasicTimerService INSTANCE
           
 
Method Summary
 javax.ejb.Timer createTimer(Object id, Date initialExpiration, long intervalDuration, Serializable info)
           
 javax.ejb.Timer createTimer(Object id, Date expiration, Serializable info)
           
 javax.ejb.Timer createTimer(Object id, long initialDuration, long intervalDuration, Serializable info)
           
 javax.ejb.Timer createTimer(Object id, long duration, Serializable info)
           
 TimerImpl getTimerById(Long id)
           
 Collection getTimers(Object id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final BasicTimerService INSTANCE
Method Detail

createTimer

public javax.ejb.Timer createTimer(Object id,
                                   Date initialExpiration,
                                   long intervalDuration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface BasicTimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

public javax.ejb.Timer createTimer(Object id,
                                   Date expiration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface BasicTimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

public javax.ejb.Timer createTimer(Object id,
                                   long initialDuration,
                                   long intervalDuration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface BasicTimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

public javax.ejb.Timer createTimer(Object id,
                                   long duration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface BasicTimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

getTimers

public Collection getTimers(Object id)
                     throws IllegalStateException,
                            javax.ejb.EJBException
Specified by:
getTimers in interface BasicTimerService
Throws:
IllegalStateException
javax.ejb.EJBException

getTimerById

public TimerImpl getTimerById(Long id)
Specified by:
getTimerById in interface BasicTimerService


Copyright © 1999-2006 OpenEJB. All Rights Reserved.