public class TimerServiceImpl
extends java.lang.Object
Constructor and Description |
---|
TimerServiceImpl(EjbTimerService ejbTimerService,
java.lang.Object primaryKey,
java.lang.reflect.Method ejbTimeout) |
Modifier and Type | Method and Description |
---|---|
Timer |
createCalendarTimer(ScheduleExpression scheduleExpression) |
Timer |
createCalendarTimer(ScheduleExpression scheduleExpression,
TimerConfig timerConfig) |
Timer |
createIntervalTimer(java.util.Date initialExpiration,
long lintervalDuration,
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> |
getAllTimers() |
java.util.Collection<Timer> |
getTimers() |
public TimerServiceImpl(EjbTimerService ejbTimerService, java.lang.Object primaryKey, java.lang.reflect.Method ejbTimeout)
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 Timer createSingleActionTimer(long duration, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createSingleActionTimer(java.util.Date expiration, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createIntervalTimer(long initialDuration, long intervalDuration, TimerConfig timerConfig) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, EJBException
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException
public Timer createIntervalTimer(java.util.Date initialExpiration, long lintervalDuration, 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
public java.util.Collection<Timer> getAllTimers() throws java.lang.IllegalStateException, EJBException
java.lang.IllegalStateException
EJBException