felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Donald (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2621) Rename annotations to remove collisions
Date Fri, 24 Sep 2010 01:03:32 GMT
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.
You can reply to this email to add a comment to the issue online.

View raw message