You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/02/03 13:49:28 UTC

[jira] Commented: (FELIX-2031) Services should be registered asynchronously

    [ https://issues.apache.org/jira/browse/FELIX-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829060#action_12829060 ] 

Felix Meschberger commented on FELIX-2031:
------------------------------------------

Just a thing to comment: While it is not a problem to delay acceptance of a newly registered service, delaying the release of an unregistering service might create issues. In the Rev. 905985 the window is actually half a second in which the service having gone might still be accessed...

What I do not understand is, why the Configuration Admin and Event Admin services are bound and why the ConfigurationListener and EventHandler services are only registered when the admin services exist ... I think the OptionalFeaturesHandler could just register the two services and be done.

> Services should be registered asynchronously
> --------------------------------------------
>
>                 Key: FELIX-2031
>                 URL: https://issues.apache.org/jira/browse/FELIX-2031
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-event-plugin-0.9.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: webconsole-event-plugin-1.0.0
>
>
> Some services are (un)registered during receival of a service event which is send synchronously. To avoid any problems these operations should be done asynchronously - when doing things synchronously I experienced a strange delay of exactly one minute.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.