Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1867

Support a special marker interface @Local to select just services defined within the same module

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.7
    • 5.0.15
    • tapestry-ioc
    • None

    Description

      It is very common to want to select a service defined within the same module. This can be done by defining a marker annotation (often with the name Local) at marking the services in the module with that annotation. However, this is extra work and can be limiting (as services currently only support a single marker annotation).

      It would be nice if the marker logic was supplemented with additional logic that would resolve services only within the same module as the service itself based on a predefined annotation.

      The name @Local is a good name, or perhaps @InModule or @SameModule.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: