With regards to DS, I think you might be confusing factory component (where you get instances of your component by calling componentFactoryService.newInstance(…)) with prototype scope (where you can use a ServiceObjects.getService() call to obtain a new instance of the service for each call).
thanks david jencks > On Aug 24, 2016, at 11:17 AM, mduduzik <[email protected]> wrote: > > I would like to create and new instance of component for every service > request. I believe by default a component is a singleton - i.e. the same > instance will be returned for every service consumer request. In DS/SCR, > this is accomplished by using a factory property in @Component declaration. > > Thanks. > -Mdu > > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/DM4-service-factory-multiple-service-instance-support-tp5018226.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

