Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.0.7
-
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.