Not able to upgrade org.apache.felix.configadmin jar from 1.8.10 to 1.9.26.
Hi All,
I am facing an issue in upgrading the org.apache.felix.configadmin jar as in the latest version [1.9.26] they have changed the ConfigurationManager class , earlier ConfigurationManager of org.apache.felix.cm.impl was implementing BundleActivator and BundleListner both the interfaces , but in the latest version , the ConfigurationManager class is implementing only the BundleListner interface , and in order to call the ConfigurationManager's start() method , they have created a new starter class called ConfigurationAdminStarter and the activate() method of ConfigurationAdminStater class is creating the object of ConfigurationManager.
This activate() method of ConfigurationAdminStater class takes the object of org.apache.felix.cm.impl.persistence.ExtPersistenceManager class object as a parameter , so the question is how to create the object of this ExtPersistenceManager?
And there is one more question , even if we call this activate method and it will intialize ConfigurationManger class but now how we can give the call to the start method of ConfigurationManger class? Earlier it was implementing the BundleActivator class so the osgi framework was giving the call to start method automatically as soon as bundle is getting active.