Hi,
I have register a ManagedServiceFactory service in an activator:
Dictionary properties = new Hashtable();
properties.put(Constants.SERVICE_PID,
"xs.persistence.hibernate.session.factory");
this.hibernateConfigurationFactoryService =
context.registerService(
ManagedServiceFactory.class.getName(),
new HibernateConfigurationFactory(),
properties);
. Then I put a file called xs.persistence.hibernate.session.factory.cfg
under etc directory. With config:list, I can find the configuration is
noticed by configuration admin service. However, why the updated method of
HibernateConfigurationFactory( implementation of ManagedServiceFactory) is
never called? What more should I do?
Rice
--
View this message in context:
http://karaf.922171.n3.nabble.com/ManagedServiceFactory-updated-never-get-called-with-etc-configuration-tp2464442p2464442.html
Sent from the Karaf - User mailing list archive at Nabble.com.