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

Add @Optional annotation to mark contribution methods that can be ignored if the indicated service does not exist

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3
    • tapestry-ioc
    • None

    Description

      Currently the registry wil not start if a module makes contributions to a service which does not exist (e.g. because the module with the service is not loaded). This makes problems with applications, that allow installations with a subset of all modules started. A module should be able to contribute to an extension point only if it is available. In case the service does not exist, the contribution should be ignored.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlship Howard Lewis Ship
            peter.rietzler@smarter-ecommerce.com Peter Rietzler
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment