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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to