Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049951
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2022-08-04 11:592022-08-05 07:44
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in VersionPR22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049951: WeldUtils.getInstances with a given selector

DescriptionWeldUtils provides utilities to work with CDI beans in classes that are not manged by the CDI container.

Although it has a method to obtain all the instances for a given type, it is not possible to prefilter them by a given AnnotationLiteral.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0052178 closedalostale resources (open file descriptors and java threads) leaked on push API 

-  Notes
(0139896)
hgbot (developer)
2022-08-04 12:33

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/668 [^]
(0139908)
hgbot (developer)
2022-08-05 07:44

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/668 [^]
(0139909)
hgbot (developer)
2022-08-05 07:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: e3f40d4747ec17d10799fd5ba65c587ffe5e4448
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 04-08-2022 12:31:41
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/e3f40d4747ec17d10799fd5ba65c587ffe5e4448 [^]

fixes FR-49951: implements WeldUtils.getInstances with selector

WeldUtils.getInstances method has been overloaded to support receving
CDI selectors.

---
M modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
M modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/QualifiedBean.java
M modules/org.openbravo.base.weld/src/org/openbravo/base/weld/WeldUtils.java
---

- Issue History
Date Modified Username Field Change
2022-08-04 11:59 alostale New Issue
2022-08-04 11:59 alostale Assigned To => Triage Platform Base
2022-08-04 11:59 alostale Modules => Core
2022-08-04 11:59 alostale Triggers an Emergency Pack => No
2022-08-04 11:59 alostale Assigned To Triage Platform Base => alostale
2022-08-04 12:33 hgbot Note Added: 0139896
2022-08-05 07:41 alostale Summary WeldUtils.getIstances with a given selector => WeldUtils.getInstances with a given selector
2022-08-05 07:44 hgbot Note Added: 0139908
2022-08-05 07:44 hgbot Resolution open => fixed
2022-08-05 07:44 hgbot Status new => closed
2022-08-05 07:44 hgbot Fixed in Version => PR22Q4
2022-08-05 07:44 hgbot Note Added: 0139909
2023-05-02 08:40 alostale Relationship added blocks 0052178


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker