Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1445 Initialize QueryCache via dependency injection
  3. CAY-1536

Expand deserialization context to provide Injector object instead of just a DataChannel.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1M2
    • Fix Version/s: 3.1M2
    • Component/s: Core Library
    • Labels:
      None

      Description

      Replace BaseContext.bindThreadDeserializationChannel/getThreadDeserializationChannel with a more generic context for deserialization : CayenneRuntime.bindThreadInjector/getThreadInjector. This way deserialized objects can lookup any service in the runtime container. Will need to test that in real scenarios (e.g. deserializing sessions from disk in Tomcat)

        Attachments

          Activity

            People

            • Assignee:
              andrus Andrus Adamchik
              Reporter:
              andrus Andrus Adamchik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: