Spring and Helper classes

If you use helper classes and Spring injection it might happen you need to inject beans into static fields of your helper classes. In this case it can come handy a Spring class called org.springframework.beans.factory.config.MethodInvokingFactoryBean. Consider the following two classes where Static represents your helper class and NonStatic your injected bean: You can inject a … Continue reading Spring and Helper classes