felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: Behavior of a declarative service with a dynamic reference with cardinality 0..1 when the unbind method is not specified
Date Fri, 21 Nov 2008 14:39:23 GMT
João Assunção wrote:
> Hello all,
> 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.
> So, I'd like to know if this is the expected behavior. I give a quick look
> in the specs but I was unable to find an answer.
>   

 From my interpretation of the spec, I don't think this is correct. If 
there is no unbind method it should be ignored. The XML schema says it 
is optional. I think you should open a JIRA issue for SCR.

-> richard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message