Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.scheduling.commonj
Class DelegatingTimerListener

    java.lang.Object
      org.springframework.scheduling.commonj.DelegatingTimerListener

All Implemented Interfaces:
  commonj.timers.TimerListener

    public class DelegatingTimerListener

extends java.lang.Object
implements commonj.timers.TimerListener

Simple TimerListener adapter that delegates to a given Runnable.

Since:
  2.0
Author:
  Juergen Hoeller
See Also:
  `TimerListener`, `Runnable`

Constructor Summary
`DelegatingTimerListener(java.lang.Runnable runnable)` Create a new DelegatingTimerListener.

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`

Constructor Detail

### DelegatingTimerListener

    public DelegatingTimerListener(java.lang.Runnable runnable)

  Create a new DelegatingTimerListener.

  Parameters:
    `runnable` - the Runnable implementation to delegate to

Method Detail

### timerExpired

    public void timerExpired(commonj.timers.Timer timer)

  Delegates execution to the underlying Runnable.

  Specified by:
    `timerExpired` in interface `commonj.timers.TimerListener`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD