|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.aspects.patterns.observable.SubjectImpl
The subject implementation.
Constructor Summary | |
SubjectImpl(Object subject)
|
Method Summary | |
void |
addObserver(Observer observer)
Add an observer |
void |
notifyObservers()
Notify all observers |
void |
removeObserver(Observer observer)
Remove an observer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SubjectImpl(Object subject)
Method Detail |
public void addObserver(Observer observer)
Subject
addObserver
in interface Subject
observer
- the observerpublic void removeObserver(Observer observer)
Subject
removeObserver
in interface Subject
observer
- the observerpublic void notifyObservers()
Subject
notifyObservers
in interface Subject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |