On Tue, May 13, 2008 at 3:43 PM, Bong Gavin <[EMAIL PROTECTED]> wrote:
>  Yes I am registering the BaseComposite.

Ok, but if you don't instantiate BaseComposite instances, then no need....

>  Anyhow, with Sonny's help, the solution is to:
>
>  a) encapsulate #doSomethingElse() in an interface.
>  b) Make SubBaseComposite extend BaseComposite. (Remove the mixin 
> inheritance).

My guess is that it will be rather rare that one uses inheritence in
Mixins, as I think the same can be achieved (as you notice) with
multiple mixins side by side. That also allows the "superclass" to be
changed with a different implementation.


Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to