I know that we can autowire all implementations of an interface using this sort of configuration.
@Configurable
public class Target {
@Autowired
private List<IType> itypes;
}
Or by using byType
feature in XML.
In my code base, class is not annotated with @Configuration
all beans are injected from XML and I cannot use byType as there are two beans of the same type (already existing) in the target class.
What is the way to use the same feature from XML (apart from putting all interface implementations one-by-one) to get all th ebeans by interface type?