With spring, you can say:

@Component
class X implements Y,Z

And at call site:

@Inject
private Y y;

@Inject
private Z z;

And expect (scope dependent) to get the same instance of X in both y and z.

Can I achieve this in m3.2 core ?

Kristian

Reply via email to