I have come upon a conceptual problem with OSGi.

First, I'll tell what I need. I need a factory that will create some
instances. Each instance has it's own configuration and all instances
provide a service.

I've read about the EMailFetcher example in the Configuration Admin
Specification and it turned out to be just my case. So I was happy and
thought that I should use ManagedServiceFactory and all the things
associated with it.

Later, however I've read the Declarative Services Specification. And that is
where it began. I can't feel the difference between the
ManagedServiceFactory (from Configuration Admin) and ComponentFactory (from
Declarative Services).

If anyone could tell me the difference between them (for example why can't I
use ComponentFactory in the EMailFetcher example, or can I?), I would be
very-very thankful.

Thanks in advance...
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to