Hi Felix, Thanks for the fast response! If the component in question has @Reference fields in it, are they carried over to the new instances from the factory?
Is it possible for the requesting component to send up information that can be used to configure new instances from the factory? On Fri, Apr 9, 2010 at 4:03 PM, Felix Meschberger <[email protected]>wrote: > Hi, > > On 09.04.2010 21:54, Carl Hall wrote: > > When using the @Service annotation and specifying serviceFactory=true, > > should I also implement the ServiceFactory interface to make sure the > > (get|unget)Service methods are found or are there more annotations to > mark > > such methods without implementing the interface? > > No, if you mark a component as being a service factory component the > Service Component Runtime registers a ServiceFactory implementation on > behalf of the component and when a bundle requests the actual service, > the runtime instantiates the component class and activates it to hand it > out. > > In short, this is all take care of for the component. > > Regards > Felix > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

