Hi all,
I would like to have an interface IFoo, with is implemented by two classes: Bar and Bazz. Can I have a third class, Booya, such that:
public Booya(List<IFoo> foos)
{
...
}
is autowired properly with:
<object id="Booya" type="Full.Namespace.Of.Booya" autowire="constructor" />
<object id="Bar" type="Full.Namespace.Of.Bar" autowire="constructor" />
<object id="Bazz" type="Full.Namespace.Of.Bazz" autowire="constructor" />
in my XML Spring configuration?
Thanks for your time!


Reply With Quote
