javax.ejb
Interface TimerHandle

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
TimerHandleImpl (src)

public interface TimerHandle
extends java.io.Serializable

The TimerHandle interface is implemented by all EJB timer handles.


Method Summary
 Timer (src) getTimer()
          Obtain a reference to the timer represented by this handle.
 

Method Detail

getTimer

public Timer (src)  getTimer()
               throws java.lang.IllegalStateException,
                      NoSuchObjectLocalException (src) ,
                      EJBException (src) 
Obtain a reference to the timer represented by this handle.

Returns:
Timer which this handle represents
Throws:
java.lang.IllegalStateException - If this method is invoked while the instance is in a state that does not allow access to this method.
NoSuchObjectLocalException (src) - If invoked on a timer that has expired or has been cancelled.
EJBException (src) - If this method could not complete due to a system-level failure.