Hello All,

I'd like to asked what is the suggested method for creating instance
factories according to the service pattern.

i.e. I would like to obtain a list of stateless instances which are single
use and which are subsequently simply collected.

I'm thinking service factory but I'm not sure if there are further
implications regarding the registration of outputted instances, like
automatic tracking of service references.

Effectively I would like to simply register (a factory) to an interface as
usual, and later get the list of matching services.. but the output would
be stateless pojos which I later don't have to "unget" as it were.

Make sense?

- Ray
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to