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

Allow services defined by module tapestry-ioc to be advised and decorated

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.4
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      The TapestryIOCModule is annotated with @PreventServiceDecoration meaning no IOC service can be advised, decorated or overridden.

      Some IOC services are not that dangerous and should be allowed to be overridden (i.e. ClassNameLocator). Others (i.e. ClasspathURLConverter) were specifically created to be overridden!

      The @PreventServiceDecoration should be removed from TapestryIOCModule and placed on specific IOC services that really shouldn't be tampered with.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              slimerdude Steve Eynon
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: