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(java.util.Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
|
Timer |
createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
|
Timer |
createSingleActionTimer(java.util.Date expiration,
TimerConfig timerConfig)
|
Timer |
createSingleActionTimer(long duration,
TimerConfig timerConfig)
|
Timer |
createTimer(java.util.Date initialExpiration,
long intervalDuration,
java.io.Serializable info)
|
Timer |
createTimer(java.util.Date expiration,
java.io.Serializable info)
|
Timer |
createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
|
Timer |
createTimer(long duration,
java.io.Serializable info)
|
java.util.Collection<Timer> |
getTimers()
|
createTimer
Timer createTimer(java.util.Date initialExpiration,
long intervalDuration,
java.io.Serializable info)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createTimer
Timer createTimer(java.util.Date expiration,
java.io.Serializable info)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createTimer
Timer createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createTimer
Timer createTimer(long duration,
java.io.Serializable info)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
getTimers
java.util.Collection<Timer> getTimers()
throws java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalStateException
EJBException
createSingleActionTimer
Timer createSingleActionTimer(long duration,
TimerConfig timerConfig)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createSingleActionTimer
Timer createSingleActionTimer(java.util.Date expiration,
TimerConfig timerConfig)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createIntervalTimer
Timer createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createIntervalTimer
Timer createIntervalTimer(java.util.Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createCalendarTimer
Timer createCalendarTimer(ScheduleExpression schedule)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
createCalendarTimer
Timer createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
EJBException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.