You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2008/11/20 16:18:44 UTC
[jira] Created: (FELIX-830) Simplify the "id/parent" resolution to
compute the metadata hierarchy during annotation processing
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.
[jira] Resolved: (FELIX-830) Simplify the "id/parent" resolution to
compute the metadata hierarchy during annotation processing
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ 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.