How can I inject static field of a class to a spring bean.
I have a class 'Class1' which has a static field 'static1'. There's one another class 'Class2'. now I need to inject Class1.static1 into Class2.
Note: Class1 don't have getter for static field.