Tapestry
  1. Tapestry
  2. TAPESTRY-1867

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.15
    • Component/s: tapestry-ioc
    • Labels:
      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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development