--

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)

--

--

Ravinder Thirumala
Ravinder Thirumala

Written by Ravinder Thirumala

Java enthusiast and open source contributor

No responses yet