[
http://issues.ops4j.org/browse/QI-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11970#action_11970
]
Rickard Öberg commented on QI-182:
----------------------------------
Actually, the way to find the configuration type is to traverse all the
dependencies on Configuration<?> in all fragments of the composite. Look at
Qi4jRuntime.getConfigurationType for reference.
> Service Configuration Tab content
> ---------------------------------
>
> Key: QI-182
> URL: http://issues.ops4j.org/browse/QI-182
> Project: Qi4j
> Issue Type: New Feature
> Components: Envisage
> Reporter: Niclas Hedhman
> Assignee: Tonny Kohar
> Fix For: 0.7
>
>
> The content on the Configuration Tab for Services should contain the Service
> Configuration names and types.
> The Service Configuration is a "Private Mixin" on the Service Composite of
> type org.qi4j.api.configuration.Configuration. The generic type of that
> Configuration is the custom configuration we want presented. So, you capture
> the Visitor's visit( MixinDescriptor mixinDescriptor ) to find the Mixin type
> of Configuration.
> It seems that currently the only way to proceed would be via
> java.util.reflect, which I think might be a bad idea. Does this mean we need
> to add more things in the visitor pattern?
--
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