|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.scheduling.commonj.DelegatingTimerListener
public class DelegatingTimerListener
Simple TimerListener adapter that delegates to a given Runnable.
commonj.timers.TimerListener
,
Runnable
Field Summary | |
---|---|
private java.lang.Runnable |
runnable
|
Constructor Summary | |
---|---|
DelegatingTimerListener(java.lang.Runnable runnable)
Create a new DelegatingTimerListener. |
Method Summary | |
---|---|
void |
timerExpired(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 |
Field Detail |
---|
private final java.lang.Runnable runnable
Constructor Detail |
---|
public DelegatingTimerListener(java.lang.Runnable runnable)
runnable
- the Runnable implementation to delegate toMethod Detail |
---|
public void timerExpired(Timer timer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |