|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlarmListener
This interface is implemented by a Java object that will receive alarm notifications. An object implementing this interface can be supplied to the AlarmManager.create method and used as the target for an alarm. When the alarm fires then the fired method is called and the alarm firing is provided as a parameter. By providing the alarm as a parameter, the same object instance could be used for multiple alarms.
Alarm
,
AlarmManager
Method Summary | |
---|---|
void |
fired(Alarm alarm)
This method is called when an alarm fires. |
Method Detail |
---|
void fired(Alarm alarm)
alarm
- This is the alarm that actually fired. The context of the
alarm can be retrieved using the Alarm.getContext method.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |