Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-830

SpringModuleDef unnecessarily hard-codes that the type of object stored in the context as a ConfigurableWebApplicationContext when any object implementing ApplicationContext is sufficient

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-spring
    • Labels:
      None

      Description

      In SpringModuleDef exists private method locateExternalContext. It has
      return type of ConfigurableWebApplicationContext. But its calls only
      from contructor where assignment occurs to variable with type of
      ApplicationContext.
      It highly limits me on programmaticaly creating server context and
      passing into it SpringContext without implementing
      ConfigurableWebApplicationContext.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              bugtracker Andrey Larionov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: