felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-2621) Rename annotations to remove collisions
Date Mon, 04 Feb 2013 12:36:21 GMT

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

Clement Escoffier closed FELIX-2621.

> Rename annotations to remove collisions 
> ----------------------------------------
>                 Key: FELIX-2621
>                 URL: https://issues.apache.org/jira/browse/FELIX-2621
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>            Reporter: Peter Donald
>            Priority: Critical
>             Fix For: iPOJO-1.8.0
> Several annotations are named the same as other annotations or classes in the iPojo project.
This makes the use of these annotations painful as the classes need to be fully qualified.
> Example 1:
> @Property can either be an annotation marking something to be exported to JMX or a config
variable. Alternatively annotations could be named @ConfigProperty and @JmxProperty. (If this
naming occured it would also make sense to rename @Method to @JmxMethod).
> Example 2:
> You annotate a field of type Publisher with the annotation @Publisher. The annotation
could be something such as @Publishes.

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

View raw message