i am using spring & have 2 interfaces,
interface A {
public void a();
}
interface B {
public void B();
}
and their implementations
class AImpl implements A {
public void a(){ // TODO }
}
class BImpl implements B {
public void b(){ // TODO }
}
Now I create an interface C
interface C extends A, B {}
Is there any way I can get a bean of type C with method definations of AImpl & BImpl