Is it possible to override a method using the mixin construct?
Eg. Base class A contains a method foo(). Class B extends A but doesn't contain any methods. Define a mixin (C and CImpl) that implement foo() in a different but compatible way (same arguments, same return value). Is there a way to apply this mixin to B thus overriding the foo() method defined by A?
I tried several things, but always get the same error: "jboss-aop.xml is trying to apply an already existing method foo for class B"
We don't support this, but we should...
I have added a JIRA task and we hope to get to this in 2.0. You can watch this task here:
Also, if you're interested in implementing, and you do implement it, I'd be happy to give you CVS access to commit it.