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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0.5
    • 5.2.0
    • tapestry-spring
    • 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

            hlship Howard Lewis Ship
            bugtracker Andrey Larionov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: