Constructor versus setter injection
- by Chris
Hi,
I'm currently designing an API where I wish to allow configuration via a variety of methods. One method is via an XML configuration schema and another method is through an API that I wish to play nicely with Spring.
My XML schema parsing code was previously hidden and therefore the only concern was for it to work but now I wish to build a…