interface « XML « Spring Q&A

1. Multiple Implementations passed in a list

I am New to Spring.I have this question which has been bothering me for a while now. Any help would be appreciated. There is an Interface which calls a getter method.

interface ...

2. @Scope ( INTERFACES ) equivalent for XML

Hi, I'm trying to do this (code) in old school xml. Code: @Bean @Scope(value="request", proxyMode=ScopedProxyMode.INTERFACES) public MyInterface createInterface() { return connectionRepository().getPrimaryConnection(MyInterface.class); } I've tried to do this: Code: