Guillaume Nodet commented on ARIES-1407:

The use of a {{org.osgi.framework.ServiceFactory}} is required by the spec, see 
section {{121.6.1}}.  The factory must be registered in the OSGi registry as 
long as the manager is {{enabled}}, i.e. all its dependencies are satisfied.  
The fact that a {{ServiceFactory}} is always used is hidden to the user, it 
should only see that the service is eagerly registered while the service bean 
is lazily created.  If he's smart enough, he'll understand that a 
{{ServiceFactory}} is used, but that's not the point ;-)

Section {{121.6.2}} defines the behavior of the registration listeners.  When 
the manager is first {{activated}}, i.e. a service is required from a bundle 
(see section {{121.3.8}}), it must actuate the registration listeners and call 

> 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