org.springframework.scheduling.commonj
Class DelegatingTimerListener
java.lang.Object
   org.springframework.scheduling.commonj.DelegatingTimerListener
org.springframework.scheduling.commonj.DelegatingTimerListener
- All Implemented Interfaces: 
- commonj.timers.TimerListener
- public class DelegatingTimerListener 
- extends Object- implements commonj.timers.TimerListener
Simple TimerListener adapter that delegates to a given Runnable.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
- TimerListener,- Runnable
 
| Method Summary | 
|  void | timerExpired(commonj.timers.Timer timer)Delegates execution to the underlying Runnable.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DelegatingTimerListener
public DelegatingTimerListener(Runnable runnable)
- Create a new DelegatingTimerListener.
 
- Parameters:
- runnable- the Runnable implementation to delegate to
 
timerExpired
public void timerExpired(commonj.timers.Timer timer)
- Delegates execution to the underlying Runnable.
 
- 
- Specified by:
- timerExpiredin interface- commonj.timers.TimerListener
 
- 
 
Copyright © 2002-2008 The Spring Framework.