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

Use a whiteboard pattern to expose new Jackson Module #377

Closed
cescoffier opened this Issue Nov 20, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@cescoffier
Member

cescoffier commented Nov 20, 2014

Right now, to export a new jackson module, the component needs to:

  1. build its module object (generally a simple module)
  2. register this module in the JacksonModuleRegistry.
  3. unregister it when leaving

This approach is not very homogeneous with the overall Wisdom approach, preferring the whiteboard pattern. It would be nice to let component willing to 'adapt' the json serialization / deserialization to expose their module as a service. Both way are compatible, and may be used together.

@cescoffier cescoffier added the feature label Nov 20, 2014

@cescoffier cescoffier self-assigned this Nov 20, 2014

@cescoffier cescoffier added this to the 0.7 milestone Nov 20, 2014

magnet added a commit to Lambdacube/wisdom that referenced this issue Nov 23, 2014

Fix wisdom-framework#377
Use the whiteboard pattern to handle the registration and unregistration of Jackson Module.
Update documentation and sample

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment