hello

I have now partly implemented the new NodeEvent and RelationEvent.
the MMBaseChangeInterface now has a metod 'void changedNode(NodeEvent
event);' this method is impelemented by MMBaseChangeDummy.
the class ChangeManager now creates NodeEvent and RelationEvent
instances and propagate them to MMBaseChangeDummy (if that is the
implementation you use, otherwise you'r dooooomed). MMBaseChangeDummy in
turn propagates them to MMBase, which is the base for all mmbase event
buisiness.

MMObjectBuilder is seeing some changes:
This class now implements NodeEventListener and RelationEventListener,
and registeres itself with MMBase during instantiation. The code that
was triggered by methods nodeLocalChanged() and nodeRemoteChanged()  has
been moved to the callback methods of these interfaces (notify() ). For
backwars compatibility they are called though, as well as all registered
MMBaseObserver instances (these methods are quite heavily overridden).

The QueryResultCache has been modified to handle release strategies
(AbstractReleaseStrategy subclasses), and the QueryResultCache#Observer
now registers for and uses node events and  relation events.

Some unclarities about where events should be handed to parent builders
and why need clearing up. i don't understand all this perfictly, and it
needs looking at.

The next step is to change the implementation of the classes that send
the unicast/multicast messages to accomodate the new event system. Allso
we have to make up hour minds about wether we want to use java object
serialization or something like Betwixt (jakarta commons) to serialize
hour events.

In short, i think it is time for a new project meeting. 
I would like to propose next week on thirsday the 22 at 17.30 at the
vara, mediapark.
If anyone that would like to attend is unavailable at that time/place,
please notify. I would like to hear frome everbody that intents to come
anyway.

regards,

-----------
Ernst Bunders
Ontwikkelaar nieuwe media Vara
tel: 035 6711653
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to