Roy Golan has posted comments on this change. Change subject: core: make DbFacade a CDI singleton ......................................................................
Patch Set 37: (1 comment) http://gerrit.ovirt.org/#/c/34814/37/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/ModuleConfigurationExtension.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/ModuleConfigurationExtension.java: Line 35: */ Line 36: void readAllConfigurations(final @Observes BeforeBeanDiscovery bdd, BeanManager bm) { Line 37: log.info("Starting to load beans from modules"); Line 38: addBeansFromPackage(bdd, bm, "org.ovirt.engine.core.dal"); Line 39: addBeansFromPackage(bdd, bm, "org.ovirt.engine.core.dao"); what will happen on a jboss version which doesn't have the module bug and will be able to scan for those packages and load beans? (say EAP 6.3) good chance we need a proper handling for that. Line 40: } Line 41: Line 42: private void addBeansFromPackage(final BeforeBeanDiscovery bdd, BeanManager bm, String packageName) { Line 43: Reflections reflections = new Reflections(packageName); -- To view, visit http://gerrit.ovirt.org/34814 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic9e57710ce8353af020cb5ae53e43b127276d6c6 Gerrit-PatchSet: 37 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Yevgeny Zaspitsky <yzasp...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches