This is very broken. You can't change the Capability interface in a stable release.
Its part of the public spi.
If you want a new method, then you should add a mixin interface, e.g.
public interface Capability2 extends Capability { ... }
and then have AbstractCapability implement it by invoking the old method
calling code should do:
| if (capability instanceof Capability2)
| ((Capability2) capability).resolve(x, y, z);
| else
| capability.resolve(x, z);
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255163#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...