com.caucho.config.timer
Class EjbTimerHandle

java.lang.Object
  extended by com.caucho.config.timer.EjbTimerHandle
All Implemented Interfaces:
java.io.Serializable, TimerHandle

public class EjbTimerHandle
extends java.lang.Object
implements TimerHandle

Resin EJB timer handle. This is mostly an adapter/decorator on top of the underlying scheduling system.

See Also:
Serialized Form

Field Summary
protected static java.util.logging.Logger log
           
 
Method Summary
 Timer getTimer()
          Obtain a reference to the timer represented by this handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Method Detail

getTimer

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

Specified by:
getTimer in interface TimerHandle
Returns:
A reference to the timer represented by this handle.
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 - If invoked on a handle whose associated timer has expired or has been canceled.
EJBException - If this method could not complete due to a system-level failure.