wt.clients.util
Class RefreshService

java.lang.Object
  extended by wt.clients.util.RefreshService

public class RefreshService
extends Object

Class RefreshService is a utility class used by clients to keep views of objects refreshed (in sync). Classes implementing the RefreshListener interface can subscribe as listeners to RefreshEvents via the RefreshService. This class dispatches RefreshEvents to the registered listeners.

    obj = (Object) MyTaskLogic.updateObject( obj );
    RefreshEvent evt = new RefreshEvent( this, RefreshEvent.UPDATE, obj );
    RefreshService.getRefreshService().dispatchRefresh( evt );
  

See Also:
RefreshEvent,

Supported API: true

Extendable: false

Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait