You can use composition to acquire the functionality of EventDispather, in
other words add the instance of EventDispatcher class as a property of your
VO class
More on this:
http://www.gskinner.com/blog/archives/2007/07/building_a_stat_1.html
thank u!
On Sun, Jul 11, 2010 at 4:16 AM, Andriy Panas a.pa...@gmail.com wrote:
You can use composition to acquire the functionality of EventDispather, in
other words add the instance of EventDispatcher class as a property of your
VO class
More on this:
Is there a way to dispatch an event from a class that doesn't extend
EventDispatcher? For example, lets say you have 30 different value
object classes. You want to have one method called invalidateData()
that dispatches an event to get the latest content from the server.
Since I want to keep the
3 matches
Mail list logo