felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-2929) read @Property from interfaces of types annoted with @Component
Date Wed, 13 Jun 2012 13:18:42 GMT

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

Carsten Ziegeler reassigned FELIX-2929:
---------------------------------------

    Assignee: Carsten Ziegeler
    
> read @Property from interfaces of types annoted with  @Component 
> -----------------------------------------------------------------
>
>                 Key: FELIX-2929
>                 URL: https://issues.apache.org/jira/browse/FELIX-2929
>             Project: Felix
>          Issue Type: Improvement
>          Components: SCR Annotations
>            Reporter: Andrei Pozolotin
>            Assignee: Carsten Ziegeler
>
> I see most valuable use of @Property annotation to name the properties:
> 	@Property(value = "default value")
> 	public static final String PROP_NAME = "property.name";
> however, @Property is processed by scr plugin only form immediate class 
> annotated with @Component, and NOT from any implemented intefaces;
> this makes no sense, since @Component type is "internal" and PROP_NAME
> fields are therefore invisible to the manager bundle 
> (which would be trying to set this property via ConfigurationAdmin) 
> hence the request: read @Property from interfaces of types annoted with  @Component 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message