Marcel Offermans created FELIX-4357:
---------------------------------------

             Summary: 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
            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.4#6159)

Reply via email to