public class TimerServiceWrapper
extends java.lang.Object
Constructor and Description |
---|
TimerServiceWrapper() |
Modifier and Type | Method and Description |
---|---|
Timer |
createCalendarTimer(ScheduleExpression scheduleExpression) |
Timer |
createCalendarTimer(ScheduleExpression scheduleExpression,
TimerConfig timerConfig) |
Timer |
createIntervalTimer(java.util.Date date,
long l,
TimerConfig timerConfig) |
Timer |
createIntervalTimer(long l,
long l1,
TimerConfig timerConfig) |
Timer |
createSingleActionTimer(java.util.Date date,
TimerConfig timerConfig) |
Timer |
createSingleActionTimer(long l,
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> |
getAllTimers() |
java.util.Collection<Timer> |
getTimers() |
public Timer createTimer(java.util.Date initialExpiration, long intervalDuration, java.io.Serializable info) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createTimer(java.util.Date expiration, java.io.Serializable info) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createTimer(long initialDuration, long intervalDuration, java.io.Serializable info) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createTimer(long duration, java.io.Serializable info) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public java.util.Collection<Timer> getTimers() throws java.lang.IllegalStateException, EJBException
java.lang.IllegalStateException
EJBException
public java.util.Collection<Timer> getAllTimers() throws java.lang.IllegalStateException, EJBException
java.lang.IllegalStateException
EJBException
public Timer createSingleActionTimer(long l, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createSingleActionTimer(java.util.Date date, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createIntervalTimer(long l, long l1, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createIntervalTimer(java.util.Date date, long l, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createCalendarTimer(ScheduleExpression scheduleExpression) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createCalendarTimer(ScheduleExpression scheduleExpression, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException