[ 
https://issues.apache.org/jira/browse/CELIX-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498033#comment-13498033
 ] 

Alexander Broekhuis commented on CELIX-25:
------------------------------------------

Doing this is a slight move away from the OSGi Spec. In Java the customizer is 
an interface, basically forcing the implementor to implement all methods. Not 
allowing NULL does the same for Celix, but I do agree it is more convenient if 
NULL is allowed.
Any more pros/cons on this one?
                
> Allow NULL value for the SERVICE_TRACKER_CUSTOMIZER struct
> ----------------------------------------------------------
>
>                 Key: CELIX-25
>                 URL: https://issues.apache.org/jira/browse/CELIX-25
>             Project: Celix
>          Issue Type: New Feature
>            Reporter: Pepijn Noltes
>            Priority: Minor
>
> The SERVICE_TRACKER_CUSTOMIZER struct contains 4 function pointers fields 
> which will be called when a services is adding, added, removed or modified. 
> Please allow these fields to be NULL for convience.
> In most cases your not interested in all function calls. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to