felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Calmant (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3190) iPOJO Factories doesn't give access to the complete Metadata model
Date Wed, 02 Nov 2011 08:48:32 GMT

    [ https://issues.apache.org/jira/browse/FELIX-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142005#comment-13142005

Thomas Calmant commented on FELIX-3190:

Perfect, thanks
> iPOJO Factories doesn't give access to the complete Metadata model
> ------------------------------------------------------------------
>                 Key: FELIX-3190
>                 URL: https://issues.apache.org/jira/browse/FELIX-3190
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Thomas Calmant
>            Assignee: Clement Escoffier
>            Priority: Minor
>             Fix For: ipojo-core-1.8.2
> Hi,
> I'm trying to read the complete description of component type through its Factory, before
any instance of this component exists.
> It seems that Factory.getDescription() retrieves only a sub-set of this description,
whereas the complete one is hidden in a protected "m_componentMetadata" field.
> My current workaround consists to read the field using reflection, but it's not a natural
way to do it.
> Would it be possible to add a method like "Element getComponentMetadata()" in the Factory
interface to access to this field, or to a copy of it ?
> Thanks,
> Thomas

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


View raw message