| java.lang.Object org.apache.openejb.core.timer.EjbTimerServiceImpl
Method Summary | |
public void | addTimerData(TimerData timerData) Returns a timerData to the TimerStore, if a cancel() is rolled back. | public void | cancelled(TimerData timerData) Call back from TimerData and ejbTimeout when a timer has been cancelled (or is complete) and should be removed from stores. | public Timer | createTimer(Object primaryKey, long duration, Serializable info) | public Timer | createTimer(Object primaryKey, long initialDuration, long intervalDuration, Serializable info) | public Timer | createTimer(Object primaryKey, Date expiration, Serializable info) | public Timer | createTimer(Object primaryKey, Date initialExpiration, long intervalDuration, Serializable info) | public static Executor | getDefaultExecutor() | public static TransactionManager | getDefaultTransactionManager() | public Timer | getTimer(long timerId) | public Collection<Timer> | getTimers(Object primaryKey) | public TransactionManager | getTransactionManager() | public void | schedule(TimerData timerData) Called from TimerData and start when a timer should be scheduled with the java.util.Timer. | public void | start() | public void | stop() |
addTimerData | public void addTimerData(TimerData timerData)(Code) | | Returns a timerData to the TimerStore, if a cancel() is rolled back.
Parameters: timerData - the timer to be returned to the timer store |
cancelled | public void cancelled(TimerData timerData)(Code) | | Call back from TimerData and ejbTimeout when a timer has been cancelled (or is complete) and should be removed from stores.
Parameters: timerData - the timer that was cancelled |
getDefaultTransactionManager | public static TransactionManager getDefaultTransactionManager()(Code) | | |
getTimer | public Timer getTimer(long timerId)(Code) | | |
getTransactionManager | public TransactionManager getTransactionManager()(Code) | | |
schedule | public void schedule(TimerData timerData)(Code) | | Called from TimerData and start when a timer should be scheduled with the java.util.Timer.
Parameters: timerData - the timer to schedule |
|
|