Re: iPOJO and ManagedServiceFactory

2014-10-13 Thread Clement Escoffier
Hi, On 13 octobre 2014 at 13:35:49, Milen Dyankov (milendyan...@gmail.com) wrote: Thank you for clarifying Clement!  The goal it pretty simple. Say I have:  @Component(  immediate = true,  managedservice = "my.service")  @Provides  public class MyServiceImpl implements MyService {  @Property  p

Re: iPOJO and ManagedServiceFactory

2014-10-13 Thread Milen Dyankov
Thank you for clarifying Clement! The goal it pretty simple. Say I have: @Component( immediate = true, managedservice = "my.service") @Provides public class MyServiceImpl implements MyService { @Property protected String someProperty; ... } I would like to be able to able to create new instance

Re: iPOJO and ManagedServiceFactory

2014-10-13 Thread Clement Escoffier
Hi, You are right, 1.12.0 does not expose ManagedServiceFactory anymore because it uses a ‘configuration tracker’ (org.apache.felix.ipojo.ConfigurationTracker). The documentation is not up to date. However, the feature stay the same. Factory configurations pushed in the config admin create inst

iPOJO and ManagedServiceFactory

2014-10-13 Thread Milen Dyankov
Hi, can someone point me to an example of using ConfigAdmin's ManagedServiceFactory with iPOJO components, please? The reason I'm asking is, what the docs ( http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/ipojo-advanced-topics/combining-ipojo-and-