metatech commented on ARIES-1407:

Hi Grzegorz,
On second thought, isn't there a confusion between "registration listener" and 
"reference listener" ?
+ OSGi Service Platform Service Compendium, Release 4, Version 4.3, January 
2012 sections 121.6.10 and 121.7.10

I understand the logic to call the "reference listener" each time the bean is 
looked up in the registry, possibily multiple times if it is used in different 
But shouldn't the "registration listener" be called only once, when the service 
is registered in the defining bundle from which it is exported ?


> Service (un)registration listener not called anymore
> ----------------------------------------------------
>                 Key: ARIES-1407
>                 URL: https://issues.apache.org/jira/browse/ARIES-1407
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>         Environment: Servicemix 5.4.1
>            Reporter: metatech
>         Attachments: blueprint_registration_listener_fix_v2.patch
> Service (un)registration listeners are not called anymore since Blueprint 
> 1.4.0.
> There are 2 booleans in the "ServiceRecipe" class which are tested against 
> the wrong values.
> Please find a patch which makes them work again with Blueprint 1.4.3.

This message was sent by Atlassian JIRA

Reply via email to