Project:
| View Revisions: Issue #41479 | [ All Revisions ] [ Back to Issue ] | ||
| Summary | 0041479: Classes implementing WebService interface can not use CDI automatically | ||
| Revision | 2019-07-30 10:04 by caristu | ||
| Description | Those classes that implement the org.openbravo.service.web.WebService interface can not use CDI automatically: tt is not possible to inject elements because they are instantiated in a non-Weld way through the OBProvider. Currently, the workaround to handle injection in such kind of classes is to make use of the WeldUtils[1] class. [1] http://wiki.openbravo.com/wiki/Openbravo_3_Architecture#Instantiating_Weld_enabled_objects [^] |
||
| Revision | 2019-07-30 10:03 by caristu | ||
| Description | Those classes that implement the org.openbravo.service.web.WebService interface can not use CDI automatically: tt is not possible to inject elements because they are instantiated in a non-Weld way through the OBProvider. Currently, the workaround to handle injection in such kind of classes is to make use of the WeldUtils class. |
||
| Revision | 2019-07-30 10:02 by caristu | ||
| Description | Those classes that implement the org.openbravo.service.web.WebService interface can not use CDI automatically: tt is not possible to inject elements because they are instantiated in a non-Weld way through the OBProvider. | ||
| Revision | 2019-07-30 10:01 by caristu | ||
| Description | Those classes that implement the org.openbravo.service.web.WebService interface can not use CDI automatically: tt is not possible to inject elements because they are instantiated in a non-Weld way through the OBProvider. |
||
| Copyright © 2000 - 2009 MantisBT Group |