Public Member Functions | |
JTimerService (JFactory bf) | |
JTimerService (JEntitySwitch es) | |
TransactionManager | getTransactionManager () |
void | notify (Timer timer) |
void | remove (Timer timer) |
void | cancelAllTimers () |
Timer | getTimer (long initialDuration, long intervalDuration, Serializable info) |
Timer | createTimer (Date initialExpiration, long intervalDuration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException |
Timer | createTimer (Date expiration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException |
Timer | createTimer (long initialDuration, long intervalDuration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException |
Timer | createTimer (long duration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException |
Collection | getTimers () throws IllegalStateException, EJBException |
String | getEjbName () |
Serializable | getPK () |
String | getContainer () |
Definition at line 52 of file JTimerService.java.
|
constructor used for MDB or Session beans Definition at line 65 of file JTimerService.java. References org.objectweb.jonas.jtm.TransactionService.getTransactionManager(). |
Here is the call graph for this function:
|
constructor used for Entity beans Definition at line 80 of file JTimerService.java. References org.objectweb.jonas.jtm.TransactionService.getTransactionManager(). |
Here is the call graph for this function:
|
cancel all timers (when entity bean is removed) Definition at line 138 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JTimer.stopTimer(). |
Here is the call graph for this function:
|
Create a single-action timer that expires after a specified duration.
Definition at line 273 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JTimerService.createTimer(). |
Here is the call graph for this function:
|
Create an interval timer whose first expiration occurs after a specified duration, and whose subsequent expirations occur after a specified interval.
Definition at line 234 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JEntitySwitch.getPrimaryKey(), and org.objectweb.jonas_ejb.container.JTimer.startTimer(). |
Here is the call graph for this function:
|
Create a single-action timer that expires at a given point in time.
Definition at line 211 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JTimerService.createTimer(). |
Here is the call graph for this function:
|
Create an interval timer whose first expiration occurs at a given point in time and whose subsequent expirations occur after a specified interval.
Definition at line 187 of file JTimerService.java. Referenced by org.objectweb.jonas_ejb.container.JTimerService.createTimer(). |
|
Definition at line 326 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JEntitySwitch.getBeanFactory(), org.objectweb.jonas_ejb.container.JFactory.getContainer(), and org.objectweb.jonas_ejb.container.JContainer.getExternalFileName(). Referenced by org.objectweb.jonas_ejb.container.JTimer.getHandle(). |
Here is the call graph for this function:
|
Definition at line 297 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JEntitySwitch.getBeanFactory(), and org.objectweb.jonas_ejb.container.JFactory.getEJBName(). Referenced by org.objectweb.jonas_ejb.container.JTimer.getHandle(). |
Here is the call graph for this function:
|
Definition at line 310 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JEntityFactory.encodePK(), org.objectweb.jonas_ejb.container.JEntitySwitch.getBeanFactory(), and org.objectweb.jonas_ejb.container.JEntitySwitch.getPrimaryKey(). Referenced by org.objectweb.jonas_ejb.container.JTimer.getHandle(). |
Here is the call graph for this function:
|
get a Timer from the list Definition at line 152 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JTimer.equals(). Referenced by org.objectweb.jonas_ejb.container.JTimerHandle.getTimer(). |
Here is the call graph for this function:
|
Get all the active timers associated with this bean.
Definition at line 286 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JEntitySwitch.getPrimaryKey(). |
Here is the call graph for this function:
|
Definition at line 95 of file JTimerService.java. Referenced by org.objectweb.jonas_ejb.container.JTimer.cancel(), and org.objectweb.jonas_ejb.container.JTimer.startTimer(). |
|
Notify the timer to the listener
Definition at line 103 of file JTimerService.java. References org.objectweb.jonas_ejb.container.JEntitySwitch.notifyTimeout(). Referenced by org.objectweb.jonas_ejb.container.JTimer.timeoutExpired(). |
Here is the call graph for this function:
|
Remove the Timer
Definition at line 124 of file JTimerService.java. Referenced by org.objectweb.jonas_ejb.container.JTimer.timeoutExpired(). |