Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
JUnit Core 1.1.2
-
None
Description
The @Service annotation for Jupiter is currently mandatory for unary service injection and optional for multiple service injection. It should be possible to specify that a unary service is optional, leading to null being injected. It should also be possible to specify mandatory multiple service injection, leading to "at least one" semantics. This should fail parameter injection if no suitable service is available.