You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Bram Pouwelse (JIRA)" <ji...@apache.org> on 2016/04/15 13:15:25 UTC
[jira] [Updated] (FELIX-5236) Single @Property annotation on a type
doesn't work
[ https://issues.apache.org/jira/browse/FELIX-5236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bram Pouwelse updated FELIX-5236:
---------------------------------
Summary: Single @Property annotation on a type doesn't work (was: Single @Property annotations on a type doesn't work)
> Single @Property annotation on a type doesn't work
> --------------------------------------------------
>
> Key: FELIX-5236
> URL: https://issues.apache.org/jira/browse/FELIX-5236
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager Annotations
> Affects Versions: org.apache.felix.dependencymanager-r8
> Reporter: Bram Pouwelse
>
> FELIX-5180 introduced the option to add @Property annotations on a type, this doesn't work in case there is only a single property.
> The {{AnnotationCollector}} gets the @Property annotations by reading the value of the @RepatableProperty annotation. This @RepeatableProperty is only available when there is more than one @Property annotation.
> {quote}
> If more than one annotation of the requested type is present, you can obtain them by first getting their container annotation.
> {quote}
> https://docs.oracle.com/javase/tutorial/java/annotations/repeating.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)