Phil,

ConfigAdmin and DS Component Factories do not work together. You are
required to programmatically call newInstance() yourself. However it
should be possible to build a bridge from a ComponentFactory to a
ManagedServiceFactory.

ManagedServiceFactory is not deprecated.

Regards
Neil

On Thu, Mar 11, 2010 at 12:30 PM, Philipp Kursawe
<[email protected]> wrote:
> Hello,
>
> someone out there that can explain me how the ConfigAdmin and DS
> Component Factories work together?
>
> I was under the impression that each factory configuration created
> will invoke the newInstance method of the DS component factory?
>
> Or do I have to create the instances myself programmatically?
> What properties have to be set in the factory configuration to provoke
> a creation of a new instance with that factory? Do I need to set the
> service.factoryPid to the id of the factory?
>
> There seem to be no tutorials out there when or how to use the DS
> component factory. Only for the deprecated (?) ManagedServiceFactory.
>
> Thanks,
> Phil
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to