[ 
http://issues.ops4j.org/browse/QI-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930#action_13930
 ] 

Rickard Öberg commented on QI-305:
----------------------------------

I had a look at this, and the reason that it is not implemented is because with 
just an object there is not enough context to know which module to get the 
descriptor from. In the other cases we can access the internal instance 
details, and get the module, but not with objects. 

> ObjectDescriptor in ModuleSPI
> -----------------------------
>
>                 Key: QI-305
>                 URL: http://issues.ops4j.org/browse/QI-305
>             Project: Qi4j
>          Issue Type: Improvement
>          Components: SPI
>    Affects Versions: 1.2
>         Environment: Any.
>            Reporter: Stanislav Muhametsin
>            Assignee: Niclas Hedhman
>             Fix For: 1.3
>
>         Attachments: ObjectDescriptorTest.java
>
>
> Currently the method
> ObjectDescriptor objectDescriptor( String typeName );
> is commented out in org.qi4j.spi.structure.ModuleSPI . In my usecase, I need 
> to access meta-info for Qi4j-objects from within these objects, and the only 
> way I know is via object descriptor. This method would be good to be 
> implemented, or it should be documented, why implementing this method is not 
> possible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to