Hi,
My question may look weird to you but thats what I need to do.
Can somebody tell me how to externalize the class name in a bean definition in the applicationContext.xml.
Thru a PropertyPlaceHolderConfigurer one can externalize the property values, but in my case I want to pick the value of the "class" attribute in the bean element from a property file. for example
<bean id="myClass" class="a.b.c.TestClass">
The package name i.e. a.b.c is kept in a properties file and I want to build the fully qualified name of the class by combining the package name and the "TestClass".
Thanks in advance


Reply With Quote