Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 434 Bytes

File metadata and controls

12 lines (11 loc) · 434 Bytes

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