Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow direct JAXBContext caching in JAXBcontextFactory #761

Closed
RicardoRdzG opened this issue Aug 9, 2018 · 1 comment
Closed

Allow direct JAXBContext caching in JAXBcontextFactory #761

RicardoRdzG opened this issue Aug 9, 2018 · 1 comment
Labels
enhancement For recommending new capabilities help wanted Issues we need help with tackling

Comments

@RicardoRdzG
Copy link
Contributor

JAXBContext creation is expensive, would like to preload some context to avoid creating them on the fly.
JAXBContextFactory puts Context on cache when an unmarshallers is requested but there is no need to generate the marshaller.
JAXBConextFactory already has a method for this but it is private.

RicardoRdzG pushed a commit to RicardoRdzG/feign that referenced this issue Aug 9, 2018
@RicardoRdzG RicardoRdzG changed the title Allow JAXB caching in JAXBcontextFactory Allow direct JAXBContext caching in JAXBcontextFactory Aug 9, 2018
@RicardoRdzG
Copy link
Contributor Author

This relates to #660

RicardoRdzG pushed a commit to RicardoRdzG/feign that referenced this issue Aug 10, 2018
RicardoRdzG pushed a commit to RicardoRdzG/feign that referenced this issue Aug 10, 2018
@kdavisk6 kdavisk6 added enhancement For recommending new capabilities help wanted Issues we need help with tackling labels Aug 10, 2018
velo pushed a commit that referenced this issue Oct 7, 2024
Closes #761 

* Allow JAXB context caching in factory Fixes #761

* Allow JAXB context caching in factory Fixes #761

* Making methods private and added BuildWithClasses method

* Making methods private and added BuildWithClasses method

add null or empty check
velo pushed a commit that referenced this issue Oct 8, 2024
Closes #761 

* Allow JAXB context caching in factory Fixes #761

* Allow JAXB context caching in factory Fixes #761

* Making methods private and added BuildWithClasses method

* Making methods private and added BuildWithClasses method

add null or empty check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For recommending new capabilities help wanted Issues we need help with tackling
Projects
None yet
Development

No branches or pull requests

2 participants