Oracle® Application Server Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 2 (10.1.2) Part No. B15505-01 |
|
![]() Previous |
![]() Next |
You can retrieve information and cancel the timer through the Timer
object. The methods available are cancel()
, getTimeRemaining()
, getNextTimeout()
, getHandle()
, and getInfo()
. To compare for object equality, use the Timer.equals(Object obj)
method.
For a full example, see the timer example on the OC4J sample code page at on the OTN Web site.