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

Clement Escoffier closed FELIX-2622.
------------------------------------

    
> Support static service properties that are not mirrored into fields
> -------------------------------------------------------------------
>
>                 Key: FELIX-2622
>                 URL: https://issues.apache.org/jira/browse/FELIX-2622
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>            Reporter: Peter Donald
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> Sometimes you want to add static service properties to a component that you 
> don't need to mirror in fields. This is of particular use when the component 
> uses a generic specification (i.e. JComponent.class) but uses service 
> properties to further classify the specification (i.e. 
> name=foo;location=toolbar). An example of annotating a class for this would be
> @Provides{ specifications = {JComponent.class}, properties = 
> {@ServiceProperty{name="name", value="foo"},@ServiceProperty{name="location", 
> value="toolbar"}}} )
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to