Autowiring based on generic types in Spring. How does it work? Autowiring based on generic types in Spring. How does it work? spring spring