org.globus.wsrf.impl.timer
Class TimerListenerWrapper
java.lang.Object
java.util.TimerTask
org.globus.wsrf.impl.timer.TimerListenerWrapper
- All Implemented Interfaces:
- java.lang.Runnable
- public class TimerListenerWrapper
- extends java.util.TimerTask
| Fields inherited from class java.util.TimerTask |
|
| Methods inherited from class java.util.TimerTask |
scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.commons.logging.Log logger
timer
private commonj.timers.Timer timer
listener
private commonj.timers.TimerListener listener
timerManager
private TimerManagerImpl timerManager
suspended
private boolean suspended
expired
private boolean expired
TimerListenerWrapper
public TimerListenerWrapper(commonj.timers.Timer timer,
TimerManagerImpl timerManager)
- Parameters:
timer - timerManager -
suspend
public void suspend()
resume
public void resume()
executeTask
private void executeTask()
run
public void run()
stop
protected boolean stop()
cancel
public boolean cancel()
getListener
protected commonj.timers.TimerListener getListener()
- Returns:
- Returns the listener.
getTimer
protected commonj.timers.Timer getTimer()
- Returns:
- Returns the timer.