public class TimerServiceImpl extends Object implements javax.ejb.TimerService
| Constructor and Description |
|---|
TimerServiceImpl(EjbTimerService ejbTimerService,
Object primaryKey,
Method ejbTimeout) |
| Modifier and Type | Method and Description |
|---|---|
javax.ejb.Timer |
createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression) |
javax.ejb.Timer |
createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createIntervalTimer(Date initialExpiration,
long lintervalDuration,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createIntervalTimer(long initialDuration,
long intervalDuration,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createSingleActionTimer(Date expiration,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createSingleActionTimer(long duration,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createTimer(Date initialExpiration,
long intervalDuration,
Serializable info) |
javax.ejb.Timer |
createTimer(Date expiration,
Serializable info) |
javax.ejb.Timer |
createTimer(long initialDuration,
long intervalDuration,
Serializable info) |
javax.ejb.Timer |
createTimer(long duration,
Serializable info) |
Collection<javax.ejb.Timer> |
getTimers() |
public TimerServiceImpl(EjbTimerService ejbTimerService, Object primaryKey, Method ejbTimeout)
public javax.ejb.Timer createTimer(Date initialExpiration, long intervalDuration, Serializable info) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createTimer(Date expiration, Serializable info) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createTimer(long initialDuration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createTimer(long duration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic Collection<javax.ejb.Timer> getTimers() throws IllegalStateException, javax.ejb.EJBException
getTimers in interface javax.ejb.TimerServiceIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createSingleActionTimer(long duration,
javax.ejb.TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createSingleActionTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createSingleActionTimer(Date expiration, javax.ejb.TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createSingleActionTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createIntervalTimer(long initialDuration,
long intervalDuration,
javax.ejb.TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createIntervalTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createIntervalTimer(Date initialExpiration, long lintervalDuration, javax.ejb.TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createIntervalTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createCalendarTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression,
javax.ejb.TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createCalendarTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.