felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre De Rop (JIRA)" <j...@apache.org>
Subject [jira] [Work stopped] (FELIX-4357) Support types beside String/String[] in @Property annotation.
Date Sun, 29 Dec 2013 23:43:50 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on FELIX-4357 stopped by Pierre De Rop.

> 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
>
> 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.1.5#6160)

Mime
View raw message