Closed bjhargrave closed 14 years ago
Comment author: @pkriens
I see many initiatives where people run into problems with our ServiceFactory model. There seems to be a need to customize the service per call (instead of per bundle) so you get true instances and a need to parametrize that call. Such a primitive would make the OSGi service registry model significantly richer and enable more applications.
There are of course issues with backwards compatibility but I expect that things like spring-osgi, iPojo, DS, etc. can be made more powerful.
Comment author: @bjhargrave
This seems to be analogous to what Spring calls prototype scope. That is each request for the service object returns a new object.
Comment author: @bjhargrave
CPEG call: We need much more detail (RFP or RFC) to consider further.
Comment author: @pkriens
Written an RFP for this bug number
Comment author: @bjhargrave
CPEG call: Need to move RFP 117 to approval stage. CPEG members review for next call.
Comment author: @bjhargrave
RFP 117 was approved and RFC 158 has been submitted and is under discussion.
Comment author: @bjhargrave
CPEG call: BJ and Peter request to withdraw this RFC. After several design iterations, it was decided that no changes are needed to support using Factory types. And such types need to be used to ensure proper type safety for the factory type, the parameter types and the produced type. CPEG agreed.
Original bug ID: BZ#461 From: @pkriens Reported version: R4 V4.2