I want to define Spring a bean in my XML context that has a property of type List of classes: ie List<Class<?>> classes
How do I send a bean number of classes, for example java.lang.String and java.lang.Integer?
The list cannot be reused, i.e. I will not refer to it in another bean.
java spring dependency-injection inversion-of-control
flybywire
source share