Dienstag, 30. Juni 2009

Hint: Injecting static variable into Spring Beans

Several times I was wondering if it is possible to inject the value of a static variable into spring beans, now I stumbled over the solution:
<util:constant static-field="MyClass.MyStaticVar"/>


Follower