[ https://issues.apache.org/jira/browse/FELIX-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601270#action_12601270 ]
Dieter Wimberger commented on FELIX-581: ---------------------------------------- I also think that rendering the configuration makes only sense if the MetaType information is available. However, Preferences and Metatype are not really coupled, so you may retrieve MetaType information for: 1) any bundle; or 2) for the bundles that registered a ManagedService or ManagedServiceFactory; even if no Configuration object is available from the configuration admin. What I would suggest is either to go over all installed bundles looking for corresponding MetaTypeInformation (1 above), or if one wants to be more selective, only look for the corresponding service references with BundleContext.getServiceReferences(), and then get the corresponding bundles to find the Metatype information (2 above). To create the factory configurations one can simply use ConfigurationAdmin.createFactoryConfiguration(), which will create a new unique PID for the instance. I have just downloaded the binaries for the web console, so can't tell quickly if this would be hard or difficult to add. > Allow creating configuration for managed services and service factories > ----------------------------------------------------------------------- > > Key: FELIX-581 > URL: https://issues.apache.org/jira/browse/FELIX-581 > Project: Felix > Issue Type: Improvement > Components: Web Console > Affects Versions: webconsole-1.0.0 > Reporter: Dieter Wimberger > > The web console does not support to create configurations for: > 1) managed services (which did not register any themselves); and > 2) managed service factories (for service instances). > An example for 1) is the pax-web service: at the moment there is no way to > add a configuration for it using the web console. > As of 2) I think that a factory may have multiple Configuration objects > associated, each of them configuring one service instance (this way its > possible to configure, create and delete instances by configuration). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.