[ http://issues.ops4j.org/jira/browse/CONFMAN-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11811#action_11811 ]
Alin Dreghiciu commented on CONFMAN-10: --------------------------------------- OPS4J is about open participation, so any fix, improvement you wanna do is just about creating an JIRA issue so we keep track of the changes and committing the code to svn. So, go on, commit the fixes and create jira issues for them. > Service for updating single managed services > -------------------------------------------- > > Key: CONFMAN-10 > URL: http://issues.ops4j.org/jira/browse/CONFMAN-10 > Project: Pax ConfMan > Issue Type: New Feature > Components: PropsLoader > Affects Versions: 0.2.2 > Reporter: Jens Borrmann > Assignee: Alin Dreghiciu > > In our project we need the capability to update an already installed managed > service (e.g. change log level at runtime) without reconfiguring other > services. For this purpose we extended ConfMan 0.2.2. This new service > IConfigurationUpdater offers just a single service method > void updateConfiguration(String servicePid); > The implementation consists in essence of a single line: > this.adminFacade.registerConfigurations(servicePid, true); > Our changes are almost non-invasive. There are two new files (the service > interface and the implementation). Besides that we only have to register the > service in Activator.start() und unregister in stop(). > Are you interested in integrating this into the official version? Otherwise > we would write our own ConfigurationManager bundle by copying and extending > your bundle. > If you are interested in our solution, what is the best way to show you our > solution? We also found some strange passages (errors?) in the existing code > - mainly in ConfigurationAdminFacade.createConfigurationForFile() - and made > minor changes that maybe should be discussed. > Regards, Jens -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general