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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0.0
    • 5.1.0.0
    • tapestry-ioc
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: