Announcement Announcement Module
No announcement yet.
Injecting helper class in bean class Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!!