Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently, component properties can be declared in DM annotations using a "properties" attribute which accepts an array of @Property annotations.
But since we are now using java8 for the R7 version, if would be nicer to support repeatable @Property annotations.
For example:
@Component(provides=MyService.class) @Property(name="v1", value="s") @Property(name="v2", value={"s1", "s2"}) @Property(name="v3", values={"s1", "s2"}) public class MyServiceImpl implements MyService, Runnable { ... }