public class TimerServiceWrapper extends Object implements javax.ejb.TimerService
| Constructor and Description |
|---|
TimerServiceWrapper() |
| 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 date,
long l,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createIntervalTimer(long l,
long l1,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createSingleActionTimer(Date date,
javax.ejb.TimerConfig timerConfig) |
javax.ejb.Timer |
createSingleActionTimer(long l,
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 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 l,
javax.ejb.TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createSingleActionTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createSingleActionTimer(Date date, javax.ejb.TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, javax.ejb.EJBException
createSingleActionTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createIntervalTimer(long l,
long l1,
javax.ejb.TimerConfig timerConfig)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
createIntervalTimer in interface javax.ejb.TimerServiceIllegalArgumentExceptionIllegalStateExceptionjavax.ejb.EJBExceptionpublic javax.ejb.Timer createIntervalTimer(Date date, long l, 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.