Nov 11, 2020
Yes it works, i have used in apps as well, @Autowired on constructor injects all the implementations of Strategy.
@Autowired
public StrategyFactory(Set<Strategy> strategySet)
Yes it works, i have used in apps as well, @Autowired on constructor injects all the implementations of Strategy.
@Autowired
public StrategyFactory(Set<Strategy> strategySet)