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 Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Summary SpringModuleDef unnecessarily hard-codes that the type of object stored in the context is a ConfigurableWebApplicationContext when any object implementing ApplicationContext is sufficient SpringModuleDef unnecessarily hard-codes that the type of object stored in the context as a ConfigurableWebApplicationContext when any object implementing ApplicationContext is sufficient
        Howard M. Lewis Ship made changes -
        Summary Non generalized interface usage in SpringModuleDef SpringModuleDef unnecessarily hard-codes that the type of object stored in the context is a ConfigurableWebApplicationContext when any object implementing ApplicationContext is sufficient
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Andrey Larionov made changes -
        Field Original Value New Value
        Summary Non generalized interface usage4 in SpringModuleDef Non generalized interface usage in SpringModuleDef
        Andrey Larionov created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development