com.enderak.procol.common.util
Class EnhancedObservable

java.lang.Object
  |
  +--java.util.Observable
        |
        +--com.enderak.procol.common.util.EnhancedObservable
Direct Known Subclasses:
IncomingMessageHandler, MessageFactory, ProColClient, ProColProject, ProColServer

public class EnhancedObservable
extends java.util.Observable

Extends Observable to add forced notifications

Author:
Justin Dieters

Constructor Summary
EnhancedObservable()
           
 
Method Summary
 void forceNotify()
          Forces this object's changed flag to be set and notification to be sent to all Observers
 void forceNotify(java.lang.Object arg)
          Forces this object's changed flag to be set and notification to be sent to all Observers, with an Object argument
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancedObservable

public EnhancedObservable()
Method Detail

forceNotify

public void forceNotify()
Forces this object's changed flag to be set and notification to be sent to all Observers


forceNotify

public void forceNotify(java.lang.Object arg)
Forces this object's changed flag to be set and notification to be sent to all Observers, with an Object argument

Parameters:
arg - Object argument to pass to notifyObservers