How do I pass a Class constant to a bean property in a spring.xml file? Here's a sample spring.xml entry illustrating what I'm trying to configure:
I found the following Spring classes but don't know how can I use them in the spring.xml file:Code:<bean id="myBean" class="MyClass"> <property name="configValue"> <value>MyOtherClass.CONFIG_VALUE</value> </property> </bean>
For me the Constants class fits my need although I'm not sure how to use it in spring.xml. Any tips on how to use it?