Roy Golan has submitted this change and it was merged.
Change subject: core: CDI workaournd jboss 7.1.1 bug
......................................................................
core: CDI workaournd jboss 7.1.1 bug
To workaround jboss 7.1.1 bug the Injector bean must be moved to BLL
module so it will be injected into Backend.java and initialize on
startup.
Till master will support wildfly or at least jboss version EAP 6.x or
greater CDI beans can't be detected across modules.
To overcome that one must create a producer method and put it under
BllCDIAdapter and there to create or use a getInstance incase its a
singleton
Change-Id: If996ccbce18fcc5471acff49f5bef8c70269e0aa
Signed-off-by: Roy Golan <rgolan(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/BllCDIAdapter.java
R backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/Injector.java
4 files changed, 4 insertions(+), 5 deletions(-)
Approvals:
Alon Bar-Lev: Looks good to me, but someone else must approve
Roy Golan: Verified
Liran Zelkha: Looks good to me, but someone else must approve
Yair Zaslavsky: Looks good to me, approved
Oved Ourfali: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/29106
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If996ccbce18fcc5471acff49f5bef8c70269e0aa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server