Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## BEA WebLogic Server 9.0 API Reference

## commonj.timers
Interface TimerListener

All Known Subinterfaces:
  CancelTimerListener, StopTimerListener

public interface TimerListener

Objects that implement this interface and are supplied to one of the `TimerManager#schedule` methods can receieve timer notifications. When the timer expires, the `timerExpired(commonj.timers.Timer)` method is called and the Timer object that has expired is provided.

When the timer expires, the `timerExpired(commonj.timers.Timer)` method is invoked. The Timer object passed in is the Timer that was returned when the TimerListener was originally scheduled. If the TimerListener was scheduled with a period, then the same Timer object is passed to the TimerListener on each invocation.

The J2EE context active on the thread during TimerListener scheduling will be applied to the timerExpired method. See `TimerManager` for details.

Since:
  1.0
See Also:
  `Timer`, `TimerManager`

  Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
`void` | `timerExpired(Timer timer)` This method is called when a Timer expires and will run with the J2EE context of the scheduler.

Method Detail

### timerExpired

    public void timerExpired(Timer timer)

  This method is called when a Timer expires and will run with the J2EE context of the scheduler.

  Parameters:
    `timer` - the Timer object that expired.
  Since:
    1.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD