Roy Golan has posted comments on this change. Change subject: core: Inject Config instance to CommandBase ......................................................................
Patch Set 3: my comment is a bit misleading, I can loose the getInstance of Config and leave just a default constructor right there. its just not clear if you get an instance in hand if its init or not getInstance methods will be dropped once all the engine would have dependecy injected. and then beans like that should have a constructor with deps injected: @Inject public Config(IConfigUtils utils) {...} so its immutable and already init. -- To view, visit http://gerrit.ovirt.org/17613 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I42517ed27b29bc91ffe5062ada651a1d5eb07bed Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: No _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches