[ 
https://issues.apache.org/jira/browse/FELIX-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671156#action_12671156
 ] 

Felix Meschberger commented on FELIX-832:
-----------------------------------------

Thanks for reporting this issue. It is in fact two-fold: The service must not 
only be "ungotten" if the reference goes away, but also if the component itself 
is being cleanup (though in the second case there is a general cleanup at then 
end of the disposal)

> Bind method not invoked when the unbind method is unspecified after reference 
> is changed
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-832
>                 URL: https://issues.apache.org/jira/browse/FELIX-832
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.6
>         Environment: Felix 1.2.1
>            Reporter: Joao Assuncao
>            Assignee: Felix Meschberger
>            Priority: Minor
>
> I have a declarative service with a dynamic reference with cardinality 0..1, 
> and since I'm not interested in the unbind notification I did not specified 
> the unbind method.
> I noticed that Felix (1.2.1) invokes the bind method the first time, but it 
> does not invoke it when the reference is changed. After I add a unbind method 
> it works as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to