Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1428

Serialization Framework needs to allow more control over which serializer to use

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Given that we are now ripping all Serilialization implementations out of core, we need to rethink the way the SerializationService was set up a little bit. I've made 2 changes in the attached patch to achieve this:

      1. Move the configuration of the default serializer out of spring configuration and into a global property. This allows for implementations to choose their default serialization implementation for persistence more easily.
      2. Add an additional method to SerializedObjectDAO that allows you to specify the default serializer class to use when persisting an object. This allows consumers of this service to have finer grained control over the serializer they use for persistence in a specific context.

        Attachments

          Activity

            People

            Assignee:
            bwolfe Ben Wolfe
            Reporter:
            mseaton Mike Seaton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: