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
Priority: Minor
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