| Package | Description | 
|---|---|
| javax.ejb | 
 Contains the Enterprise Bean classes
and interfaces that define the contracts between the enterprise bean 
and its clients and between the enterprise bean and the enterprise bean container. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Timer | 
TimerService.createCalendarTimer(ScheduleExpression schedule)
Create a calendar-based timer based on the input schedule expression. 
 | 
Timer | 
TimerService.createCalendarTimer(ScheduleExpression schedule,
                   TimerConfig timerConfig)
Create a calendar-based timer based on the input schedule expression. 
 | 
Timer | 
TimerService.createIntervalTimer(Date initialExpiration,
                   long intervalDuration,
                   TimerConfig timerConfig)
Create an interval timer whose first expiration occurs at a given
 point in time and whose subsequent expirations occur after a specified
 interval. 
 | 
Timer | 
TimerService.createIntervalTimer(long initialDuration,
                   long intervalDuration,
                   TimerConfig timerConfig)
Create an interval timer whose first expiration occurs after a specified
 duration, and whose subsequent expirations occur after a specified
 interval. 
 | 
Timer | 
TimerService.createSingleActionTimer(Date expiration,
                       TimerConfig timerConfig)
Create a single-action timer that expires at a given point in time. 
 | 
Timer | 
TimerService.createSingleActionTimer(long duration,
                       TimerConfig timerConfig)
Create a single-action timer that expires after a specified duration. 
 | 
Timer | 
TimerService.createTimer(Date initialExpiration,
           long intervalDuration,
           Serializable info)
Create an interval timer whose first expiration occurs at a given
 point in time and whose subsequent expirations occur after a specified
 interval. 
 | 
Timer | 
TimerService.createTimer(Date expiration,
           Serializable info)
Create a single-action timer that expires at a given point in time. 
 | 
Timer | 
TimerService.createTimer(long initialDuration,
           long intervalDuration,
           Serializable info)
Create an interval timer whose first expiration occurs after a specified
 duration, and whose subsequent expirations occur after a specified
 interval. 
 | 
Timer | 
TimerService.createTimer(long duration,
           Serializable info)
Create a single-action timer that expires after a specified duration. 
 | 
Timer | 
TimerHandle.getTimer()
Obtain a reference to the timer represented by this handle. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<Timer> | 
TimerService.getAllTimers()
Returns all active timers associated with the beans in the same module in 
 which the caller bean is packaged. 
 | 
Collection<Timer> | 
TimerService.getTimers()
Returns all active timers associated with this bean. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TimedObject.ejbTimeout(Timer timer)
Invoked by the enterprise bean container upon timer expiration. 
 | 
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.