N
neuneudr
First thanks to Lew and Mark who responded to my question about
@ThreadSafe / FindBugs...
Now I've got other questions:
- In the Observer (aka Publish/Suscribe) design pattern, the
notification about the observed subject state change is named a
"callback" right? (terminology question)
tmp.registerObserver( new Observer() {
public void subjectHasChanged() {
// do something now that we know the subject
we were observing changed
}
} );
- In the Observer (aka Publish/Suscribe) design pattern, can't it be
said that the notification about the observed subject change is an
alien method call?
@ThreadSafe / FindBugs...
Now I've got other questions:
- In the Observer (aka Publish/Suscribe) design pattern, the
notification about the observed subject state change is named a
"callback" right? (terminology question)
tmp.registerObserver( new Observer() {
public void subjectHasChanged() {
// do something now that we know the subject
we were observing changed
}
} );
- In the Observer (aka Publish/Suscribe) design pattern, can't it be
said that the notification about the observed subject change is an
alien method call?