Jan 24th, 2013, 03:43 PM
Injecting helper class in bean class
I am pretty new to spring and need some help. Not sure if I am replicating a pre-existing question though i was not able to find one in the forum 'Container'.
I am developing one application which has set of overriding classes depending on the instance of an object. To arrive to the result i need to perform multiple checks across all these classes. Though the checks are common so I have written 4 different helper classes.
I wanted to know if spring follows some specific logic while creating helper classes. Currently all these classes have static methods which are accessed by the bean classes which working on the business logic. If there is a better way to do this using spring DI I will like to give it a shot.
Any help appreciated!!