com.carlosbcruz.account.util
Interface AccountSubject

All Known Implementing Classes:
AccountAbstractActionDecorator

public interface AccountSubject

Subject of a Observer Desighn Pattern

Author:
Carlos Fernando Bella Cruz - pessoal@carlosbcruz.com

Method Summary
 void addObserver(AccountObserver observer)
          Add an observer
 void notifyChange()
          Notify the observers that a change has occured
 void removeObserver(AccountObserver observer)
          Remove an observer
 

Method Detail

addObserver

void addObserver(AccountObserver observer)
Add an observer

Parameters:
observer -

removeObserver

void removeObserver(AccountObserver observer)
Remove an observer

Parameters:
observer -

notifyChange

void notifyChange()
Notify the observers that a change has occured