[
https://issues.apache.org/jira/browse/FELIX-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre De Rop updated FELIX-4357:
---------------------------------
Fix Version/s: dependencymanager.annotations-3.2.0
dependencymanager.shell-3.2.0
> Support types beside String/String[] in @Property annotation.
> -------------------------------------------------------------
>
> Key: FELIX-4357
> URL: https://issues.apache.org/jira/browse/FELIX-4357
> Project: Felix
> Issue Type: Improvement
> Components: Dependency Manager
> Reporter: Marcel Offermans
> Assignee: Pierre De Rop
> Priority: Minor
> Fix For: dependencymanager.annotations-3.2.0,
> dependencymanager.shell-3.2.0
>
>
> The dependency manager has an extension that allows you to use annotations to
> specify components, services and their dependencies. One of the supported
> annotations is @Property, which allows you to specify service properties.
> However, the values it supports are just String and String[], so if you need
> other types (for example when specifying a service ranking) you are out of
> luck. You can use the "workaround" described in the javadoc, which is to use
> a @Start annotation and method, but it would be more convenient if @Property
> had support for arbitrary types (for example by just making the value an
> Object). This issue is about discussing and potentially adding such support.
--
This message was sent by Atlassian JIRA
(v6.2#6252)