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 (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/31 19:21:32 UTC

[jira] [Resolved] (FELIX-3190) iPOJO Factories doesn't give access to the complete Metadata model

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

Clement Escoffier resolved FELIX-3190.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: ipojo-core-1.8.2

Fixed in trunk.

I've added Factory.getComponentMetadata()
                
> 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