Hi,
I would like to be able to avoid the following idiom while injecting a
configuration which only one ocurrence is allowed:
public void setConfiguration(List configuration) {
this.configuration = (MyConfigType) configuration.get(0);
}
I think on this case HiveMind should try to inject in the following setter:
public void setConfiguration(MyConfigType configuration) {
this.configuration = configuration;
}
Looking at the code of BuilderFactory it doesn't seens to be obvious
how to support such thing out of the box. Or maybe I'm missing
something. Is someone aware of how to do that?
Thanks,
Rodrigo Kumpera