javax.ejb

Interface TimerService

public interface TimerService

Method Summary

Timer
createTimer(Date expiration, Serializable info)
Timer
createTimer(Date initialExpiration, long intervalDuration, Serializable info)
Timer
createTimer(long duration, Serializable info)
Timer
createTimer(long initialDuration, long intervalDuration, Serializable info)
Collection
getTimers()

Method Details

createTimer

public Timer createTimer(Date expiration,
                         Serializable info)
            throws IllegalArgumentException,
                   IllegalStateException,
                   EJBException

createTimer

public Timer createTimer(Date initialExpiration,
                         long intervalDuration,
                         Serializable info)
            throws IllegalArgumentException,
                   IllegalStateException,
                   EJBException

createTimer

public Timer createTimer(long duration,
                         Serializable info)
            throws IllegalArgumentException,
                   IllegalStateException,
                   EJBException

createTimer

public Timer createTimer(long initialDuration,
                         long intervalDuration,
                         Serializable info)
            throws IllegalArgumentException,
                   IllegalStateException,
                   EJBException

getTimers

public Collection getTimers()
            throws IllegalStateException,
                   EJBException