javax.ejb
Interface TimerService
public interface TimerService
- Version:
- $Rev: 899269 $ $Date: 2010-01-14 11:19:07 -0500 (Thu, 14 Jan 2010) $
Method Summary |
Timer |
createCalendarTimer(ScheduleExpression schedule)
|
Timer |
createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
|
Timer |
createIntervalTimer(Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
|
Timer |
createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
|
Timer |
createSingleActionTimer(Date expiration,
TimerConfig timerConfig)
|
Timer |
createSingleActionTimer(long duration,
TimerConfig timerConfig)
|
Timer |
createTimer(Date initialExpiration,
long intervalDuration,
Serializable info)
|
Timer |
createTimer(Date expiration,
Serializable info)
|
Timer |
createTimer(long initialDuration,
long intervalDuration,
Serializable info)
|
Timer |
createTimer(long duration,
Serializable info)
|
Collection<Timer> |
getTimers()
|
createTimer
Timer createTimer(Date initialExpiration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createTimer
Timer createTimer(Date expiration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createTimer
Timer createTimer(long initialDuration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createTimer
Timer createTimer(long duration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
getTimers
Collection<Timer> getTimers()
throws IllegalStateException,
EJBException
- Throws:
IllegalStateException
EJBException
createSingleActionTimer
Timer createSingleActionTimer(long duration,
TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createSingleActionTimer
Timer createSingleActionTimer(Date expiration,
TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createIntervalTimer
Timer createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createIntervalTimer
Timer createIntervalTimer(Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createCalendarTimer
Timer createCalendarTimer(ScheduleExpression schedule)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
createCalendarTimer
Timer createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
EJBException
- Throws:
IllegalArgumentException
IllegalStateException
EJBException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.