[
https://issues.apache.org/jira/browse/ARIES-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15564872#comment-15564872
]
Grzegorz Grzybek commented on ARIES-1407:
-----------------------------------------
bq. Registration listeners are objects that have callback methods invoked
immediately after a service is registered
Hmm, what Aries creates for ServiceRecipe is ServiceFactory. And ServiceFactory
creates services. And only upon first service creation, the registration
listener is called.
[~gnt], [[email protected]] I'm not sure about the spec... Aries uses
{{org.apache.aries.blueprint.container.ServiceRecipe.TriggerServiceFactory}}
which is ServiceFactory, so current behavior is OK. But from user's point of
view, it's not obvious that {{<service>}} creates
{{org.osgi.framework.ServiceFactory}} and not normal service... What do you
think?
> 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
(v6.3.4#6332)