How to inject static variables from spring bean?
public class MyClass{
static String str;
// how to set value to this variable through Spring
}
<b>Spring bean</b>
<bean id='myclass' class = 'com.so.MyClass'>
<property name="str" value="xmlpath" />
</bean>.