Strategy implementation examples

strategy.service.approach1

Simple strategy implementation with switch and enum

strategy.service.approach2

Spring based implementation

strategy.service.approach3

Spring based implementation with EnumMap

strategy.service.approach4

Enhanced Spring based implementation with Generic and EnumMap

LoanProcessorRegistry

Slightly different approach with @Autowired in ILoanProcessor