Cayenne
  1. Cayenne
  2. CAY-1445

Initialize QueryCache via dependency injection

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1M1
    • Fix Version/s: 3.1M2
    • Component/s: Core Library, Modeler
    • Labels:
      None

      Description

      Currently DataContext/BaseContext are trying to guess their QueryCache from the parent or instantiate the default. We should start using the injection for that. This will result in a pretty serious refactoring namely in QueryCacheFactory interface going away, replaced with a corresponding Provider<QueryCache>.

        Issue Links

        There are no Sub-Tasks for this issue.

          Activity

          Hide
          Andrus Adamchik added a comment -

          when CAY-1447 is implemented, this task can be done uniformly for client and server.

          Show
          Andrus Adamchik added a comment - when CAY-1447 is implemented, this task can be done uniformly for client and server.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development