Re: Adding transactions info to mdr events
Svata Dedic <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Organization | Sun Microsystems, Inc. |
| Message-ID | <[email protected]> |
Hi, Martin, Martin Matula wrote: > Why do you need the transaction be passed into events? Well, since the events are fired asynchnronously to the transaction, one can never be sure which events were generated inside a transaction, so they should be grouped by the listener into one undo operation. One way out of that is to receive the transaction event in the stream of MDR change events, which has the order of events defined. IMHO the events can be fired to other listener type, from some other event source but using the thread which dispatch the change events. -Svata