Uploaded image for project: 'XWork'
  1. XWork
  2. XW-935

Create an InterceptorManager to cache interceptors

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.2
    • Component/s: Interceptors
    • Labels:
      None

      Description

      Interceptors are currently instantiated, with parameters, for every ActionConfig.

      This is inefficient as the same interceptor could be instantiated hundreds of times.

      To solve this, we need to create an InterceptorManager which caches instantiated interceptors by name & parameters.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mike@atlassian.com Mike Cannon-Brookes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: