org.openejb.timer
Interface BasicTimerService

All Known Implementing Classes:
BasicTimerServiceImpl, UnavailableTimerService

public interface BasicTimerService

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

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)
           
 

Method Detail

createTimer

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

createTimer

public javax.ejb.Timer createTimer(Object id,
                                   Date expiration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
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
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

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

getTimers

public Collection getTimers(Object id)
                     throws IllegalStateException,
                            javax.ejb.EJBException
Throws:
IllegalStateException
javax.ejb.EJBException

getTimerById

public TimerImpl getTimerById(Long id)


Copyright © 1999-2006 OpenEJB. All Rights Reserved.