com.intel.util.observer
Class ObservableThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.intel.util.observer.ObservableThread
All Implemented Interfaces:
IObservable, java.lang.Runnable

Deprecated. As of GPE 1.4.2 the class is not used any more

public abstract class ObservableThread
extends java.lang.Thread
implements IObservable

A thread that can be observed by IObservers

Version:
$Id$
Author:
Ralf Ratering

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected static java.util.logging.Logger logger
          Deprecated. standard logger
protected  GenericObservable theGenericObservable
          Deprecated. encapsulated observable object
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ObservableThread()
          Deprecated.  
 
Method Summary
 void addObserver(IObserver anObserver)
          Deprecated. add an observer to this thread
 void deleteAllObservers()
          Deprecated. Remove all observers
 void deleteObserver(IObserver anObserver)
          Deprecated. Remove a specific observer
 void notifyObservers(java.lang.Object theObserved, java.lang.Object changeCode)
          Deprecated. Notify our observers about an event that occured
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static java.util.logging.Logger logger
Deprecated. 
standard logger


theGenericObservable

protected GenericObservable theGenericObservable
Deprecated. 
encapsulated observable object

Constructor Detail

ObservableThread

public ObservableThread()
Deprecated. 
Method Detail

addObserver

public void addObserver(IObserver anObserver)
Deprecated. 
add an observer to this thread

Specified by:
addObserver in interface IObservable
Parameters:
anObserver - IObservable that watches this thread

deleteAllObservers

public void deleteAllObservers()
Deprecated. 
Remove all observers

Specified by:
deleteAllObservers in interface IObservable

deleteObserver

public void deleteObserver(IObserver anObserver)
Deprecated. 
Remove a specific observer

Specified by:
deleteObserver in interface IObservable
Parameters:
anObserver - IObservable to be removed

notifyObservers

public void notifyObservers(java.lang.Object theObserved,
                            java.lang.Object changeCode)
Deprecated. 
Notify our observers about an event that occured

Specified by:
notifyObservers in interface IObservable
Parameters:
theObserved - Observer
changeCode - description of the event that occured


Copyright © 2008. All Rights Reserved.