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

Annotation for services to indicate that the service should not be decorated

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      It is often nice to apply decorators to wide ranges of services using regular expression, or glob, matching. However, frequently this results in problems when the services being decorated are dependent on services that are affected by the decoration. For example, if you decorate many of the services related to MasterObjectProvider, you will likely get a cycle dependency exception.

      It would be nice if there was an annotation that indicates that the service should be ignored for decoration, much as the limited number of services provided by TapestryIOCModule are.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: