com.bea.control
Interface TimerControl.Callback

Enclosing interface:
TimerControl

public static interface TimerControl.Callback

Provides a way for the Timer control to receive callbacks.


Method Summary
 void onTimeout(long time, Serializable data)
          Received when the timer expires.
 

Method Detail

onTimeout

@TransactionAttribute(value=REQUIRED)
void onTimeout(long time,
                                                 Serializable data)
Received when the timer expires. The time at which the timer expired is passed as the time parameter. Note that this may be some time in the past if the onTimeout callback could not be invoked due to high system load.

Parameters:
time - The time at which the timer expired.
data - extra data supplied when the timer fired.