The answer is simple.

The merging functions like this:

* RIFE looks at all the interfaces that FooBarMetaData implements
* RIFE modifies FooBar to implement the same interfaces
* RIFE add a synthetic member variable to the FooBar that contains an instance of FooBarMetaData * RIFE adds the non implemented methods of the interfaces it added to FooBar and implements them so that the execution call the same methods on the added member variable.

That's it.

On 18 Sep 2006, at 15:15, Fred Baube wrote:

I think I should have phrased my question as:

If class FooBar extends class Foo, then

when Rife merges  FooBarMetaData into FooBar,
does Rife also merge FooMetaData into FooBar,
 and does Rife also merge FooMetaData.activateMetaData()
into FooBarMetaData.activateMetaData() ?

And apparently the answer is: no, it does neither.


thx!

fred B


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to