```@Component interface EventTransformer<T> ...
# spring
r
Copy code
@Component
interface EventTransformer<T> where T: Event { ..

@Component
class LoginEventTransformer: EventTransformer<Login> { 

@Component
class FieldValueListRowMapper(transformers: List<EventTransformer<Event>>) { // autowires empty list
c
Yup, when you parametrize requested type you're asking for a list of specific things, but due to type erasure there are only raw typed beans available.
r
thanks Alex
­čĹî 1