net.java.dev.moskito.core.timing
Class UpdateTriggerServiceImpl

java.lang.Object
  extended by net.java.dev.moskito.core.timing.UpdateTriggerServiceImpl
All Implemented Interfaces:
IUpdateTriggerService

 class UpdateTriggerServiceImpl
extends Object
implements IUpdateTriggerService

This class implements the UpdateTriggerService. It depends on ITimerService that will be used to do the work.

Author:
dvayanu

Field Summary
private  ITimerService timerService
          The time service instance
 
Constructor Summary
UpdateTriggerServiceImpl()
          The constructor.
 
Method Summary
 void addUpdateable(IUpdateable aUpdateable, int aUpdateSequenceInSeconds)
          This method registers a listener that will be notified every 'aUpdateSequenceInSeconds' seconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timerService

private ITimerService timerService
The time service instance

Constructor Detail

UpdateTriggerServiceImpl

UpdateTriggerServiceImpl()
The constructor.

Method Detail

addUpdateable

public void addUpdateable(IUpdateable aUpdateable,
                          int aUpdateSequenceInSeconds)
Description copied from interface: IUpdateTriggerService
This method registers a listener that will be notified every 'aUpdateSequenceInSeconds' seconds.

Specified by:
addUpdateable in interface IUpdateTriggerService
Parameters:
aUpdateable - the listener to be registered
aUpdateSequenceInSeconds - the update interval in seconds
See Also:
IUpdateTriggerService.addUpdateable(net.java.dev.moskito.core.timing.IUpdateable,int)


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework