I guess the title says it all, but: I have a bean with a property of type java.lang.Class. How can I populate this property using a Spring Context.xml? Is there some sort of Spring ClassFactoryBean I can use?
So, something like this:
Only problem is, there's no such thing as org.springframework.beas.factory.config.ClassFactoryBean.
Has anyone done this before?
On a related note, is there some way to specify the run-time type, for classes that use Generics?