Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2020-03-23 09:122020-03-28 10:40
ReportercaristuView Statuspublic 
Assigned Toplatform 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0043538: Implement usage of "singleton" element for the REST web services

DescriptionAs explained in the wiki[1] REST web services are registered through a configuration file. This configuration file can include field named "singleton" which currently is ignored.

This means that on each request executed for a REST web service in particular, a new instance of the related web service class is being created.

[1] [^]
Steps To ReproduceIn description
Proposed Solutiona) Make use of the singleton element here[2] to create a Registration class which uses the same instance of the web service when singleton is true.

b) Instantiate the class using weld. In this case, we would not use the singleton element at all and we would annotate it as @ApplicationScoped instead. See 0041479.

[2] [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0041479 newcaristu Classes implementing WebService interface can not use CDI automatically 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-03-23 09:12 caristu New Issue
2020-03-23 09:12 caristu Assigned To => platform
2020-03-23 09:12 caristu Modules => Core
2020-03-23 09:12 caristu Triggers an Emergency Pack => No
2020-03-23 09:12 caristu Relationship added related to 0041479
2020-03-23 09:12 caristu Description Updated View Revisions
2020-03-23 09:13 caristu Proposed Solution updated
2020-03-23 09:14 caristu Summary Implement usage of singleton element for the REST web services => Implement usage of "singleton" element for the REST web services
2020-03-23 09:14 caristu Description Updated View Revisions
2020-03-28 10:40 caristu Proposed Solution updated

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker