Pierre De Rop created FELIX-5180:
------------------------------------
Summary: Support for Java8 Repeatable Properties in DM annotations.
Key: FELIX-5180
URL: https://issues.apache.org/jira/browse/FELIX-5180
Project: Felix
Issue Type: Improvement
Components: Dependency Manager Annotations
Reporter: Pierre De Rop
Assignee: Pierre De Rop
Priority: Minor
Fix For: org.apache.felix.dependencymanager-r7
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:
{code}
@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 {
...
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)