Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4757

Create LocaleProviderFactory and uses instead of LocaleProvider

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.10
    • Fix Version/s: 2.5.12
    • Component/s: Core
    • Labels:
      None

      Description

      LocaleProvider is implemented by ActionSupport and this can introduce issue when injecting dependency in long living objects like Interceptors. Using dedicated factory allows to distinguish dependency from implementation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                lukaszlenart Lukasz Lenart
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: