This content has been marked as final.
Show 3 replies
-
1. Re: Event ordering
nickarls Feb 27, 2010 12:09 PM (in response to chasetec)I wonder if it would be possible to write an
event sorter extension
? It would take over the observation role and re-fire to the methods in the order specified. -
2. Re: Event ordering
gavin.king Feb 27, 2010 5:30 PM (in response to chasetec)Your next challenge is to come up with a non-totally-contrived example of with
bad
behavior.Observers should be written to be independent and not have side-effects upon each other. That's really an essential part of the observer/observable pattern.
-
3. Re: Event ordering
chasetec Feb 27, 2010 6:24 PM (in response to chasetec)I did say it was an edge case :)
I still don't think it would be that uncommon a thing for a programmer new to CDI to run into and it is something that could be easily addressed.