AIUI, the link is purely about [Bindable].  When the compiler sees
[Bindable] used on a class that does not implement IEventDispatcher or
inherits from EventDispatcher, it injects an IEventDispatcher
implementation into the class definition.

-Alex

On 8/13/14 1:59 PM, "lj369" <[email protected]> wrote:

>Thanks Alex. I was kinda wondering how the compiler knows that a bindable
>class that implements the cairngorm's IValueObject interface needs to have
>all the IEventDispatcher's methods added to it. I was speculating there's
>got to be a place, e.g. a configuration file of some sort, that the
>compiler
>looks to in order to make it happen. I dug around and checked the
>"catalog.xml" in cairngorm.swc but didn't see anything that would link the
>two. Where exactly is the link between IValueObject and IEventDispatcher?
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Who-magically-added-that-me
>thod-tp7643p7645.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to