This content has been marked as final.
Show 1 reply
-
1. Re: How do I inject a static field when a constructor is private?
alesj May 2, 2010 7:58 AM (in response to saltnlight5)So is there way I can quickly inject a static field in a class that has private constructor?
Hmmmm, yes, this might be a problem aka not possible with current IoC support.
This looks a lot like <constructor> element's support for static factory method.
I'll have a look on how much work would it be to support this.
e.g. factoryClass + (public) factoryField