public class EJBTimerServiceWrapper extends Object implements javax.ejb.TimerService
| Constructor and Description |
|---|
EJBTimerServiceWrapper(EJBTimerService persistentTimerService,
EJBTimerService nonPersistentTimerService,
EJBContextImpl ejbContext) |
| Modifier and Type | Method and Description |
|---|---|
javax.ejb.Timer |
createCalendarTimer(javax.ejb.ScheduleExpression schedule) |
javax.ejb.Timer |
createCalendarTimer(javax.ejb.ScheduleExpression schedule,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createIntervalTimer(Date initialExpiration,
long intervalDuration,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createIntervalTimer(long initialDuration,
long intervalDuration,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createSingleActionTimer(Date initialExpiration,
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> |
getAllTimers() |
Collection<javax.ejb.Timer> |
getAllTimers(EJBTimerService timerService_,
Collection<Long> containerIds) |
Collection<javax.ejb.Timer> |
getTimers() |
public EJBTimerServiceWrapper(EJBTimerService persistentTimerService, EJBTimerService nonPersistentTimerService, EJBContextImpl ejbContext)
public javax.ejb.Timer createTimer(long duration,
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(Date expiration, Serializable info) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic 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 createSingleActionTimer(long duration,
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 createSingleActionTimer(Date initialExpiration, javax.ejb.TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createSingleActionTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createIntervalTimer(Date initialExpiration, long intervalDuration, 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 schedule,
javax.ejb.TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createCalendarTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression schedule)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createCalendarTimer 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 Collection<javax.ejb.Timer> getAllTimers() throws IllegalStateException, javax.ejb.EJBException
getAllTimers in interface javax.ejb.TimerServiceIllegalStateExceptionjavax.ejb.EJBExceptionpublic Collection<javax.ejb.Timer> getAllTimers(EJBTimerService timerService_, Collection<Long> containerIds) throws IllegalStateException, javax.ejb.EJBException
IllegalStateExceptionjavax.ejb.EJBExceptionCopyright © 2019. All rights reserved.