Closed bjhargrave closed 15 years ago
Comment author: @bjhargrave
Carsten Ziegeler <cziegeler@ apache.org> wrote to speccomments on 2008/09/12 03:40:59 AM:
Hi,
I've read the suggest for updates to DS and I like them :) Section 3.2 is talking about alternative activate/deactivate method signatures. While it is great to have alternatives, the current suggestion does not allow to implement services which are not tied to the OSGi if the service wants to access a possible configuration.
Therefore, what about adding another argument to the list for activate (and perhaps deactivate):
At least in my case, the information I need most from the component context are the configuration properties.
Regards Carsten -- Carsten Ziegeler cziegeler@ apache.org
Comment author: @bjhargrave
CPEG mtg: We agreed to do this but we want to use Map instead of Dictionary.
John Wells also suggests that bind/unbind be changed to have a variation that takes 2 arguments: service object and service properties (Map).
Comment author: @bjhargrave
I updated RFC 134 to add Map for the activate, deactivate, bind and unbind methods.
Comment author: @bjhargrave
Included in the current RFC 134 draft.
Original bug ID: BZ#780 From: @bjhargrave Reported version: R4 V4.2