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] Resolved: (FELIX-830) Simplify the "id/parent" resolution to compute the metadata hierarchy during annotation processing
Date Thu, 20 Nov 2008 16:52:44 GMT

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

Clement Escoffier resolved FELIX-830.
-------------------------------------

    Resolution: Fixed

Fixed at revision 719260

The parent/id attributes are no more necessary to compute the element hierarchic structure.
A namespace based algorithm was developed to detect the structure. Parent and id attributes
can always be used if the provided naive algorithm is not enough

> Simplify the "id/parent" resolution to compute the metadata hierarchy during annotation
processing
> --------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-830
>                 URL: https://issues.apache.org/jira/browse/FELIX-830
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.0.0
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.2.0
>
>
> When using external handler, element hierarchy (element->sub-element) was computed
thanks to two attributes ('id' identifying an element, and 'parent' to refer to the parent
id). However, this system can be simplify. For example, annotations from the same package
should recreate the structure automatically according to the declaration order.
> For example a class annotation of the package P will be used as the parent of the field
and method annotations (from the same package P).
> This mechanism avoids the parent/id attribute declarations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message