net.sf.taverna.t2.lang.observer
Interface Observer<Message>

Type Parameters:
Message -
All Known Implementing Classes:
BeanableFactoryRegistry.CheckOnUpdateObserver, BeanSerialiser.RefreshBindingsObserver, ObserverTest.MyObserver, ObserverTest.SelvRemovingObserver

public interface Observer<Message>

Implement if you want to register with an Observable

Author:
Ian Dunlop, Stian Soiland

Method Summary
 void notify(Observable<Message> sender, Message message)
          Called by the Observable to notify the implementing class of changes
 

Method Detail

notify

void notify(Observable<Message> sender,
            Message message)
            throws java.lang.Exception
Called by the Observable to notify the implementing class of changes

Parameters:
sender - the class where the changes have happened
message - what has changed
Throws:
java.lang.Exception