Hi developers,
While using extended builders, I ran into unwanted behavior.
I am using the following builder setup: audiofragment extends
mediafragment extends object.
While adding an observer to mediafragments, you expect to receive
nodeChanges of all implementations of mediafragments. This is not the
situation because the signaling of changed nodes is not passed to the
parent builders.
I added a little delegation statement in
MMObjectBuilder:nodeLocalChanged (also in the remote method).
MMObjectBuilder pb = getParentBuilder();
if(pb!=null) {
pb.nodeRemoteChanged(machine, number, builder, ctype);
}
For me this seems to work correctly, and if nobody disagrees with this
addition I want to put it in CVS as a bug fix.
greetings Rob