felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FELIX-4002) ComponentStateListener.started is invoked twice when the listener is added in the start method.
Date Tue, 02 Apr 2013 09:05:16 GMT

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

Tuomas Kiviaho edited comment on FELIX-4002 at 4/2/13 9:04 AM:
---------------------------------------------------------------

removeStateListener behaviour seem to inconsistent with addStateListener. There might be situations
where starting+start are called but stopping+stopped are not.
                
      was (Author: tuomas_kiviaho):
    removeStateListener behaviour seem to inconsistent with start as addStateListener. There
might be situations where starting+start are called but stopping+stopped are not.
                  
> ComponentStateListener.started is invoked twice when the listener is added in the start
method.
> -----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-4002
>                 URL: https://issues.apache.org/jira/browse/FELIX-4002
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>    Affects Versions: dependencymanager-3.1.0
>            Reporter: Alexander Broekhuis
>            Assignee: Marcel Offermans
>
> When a ComponentStateListener is added in the start lifecycle method of a component the
started method is called twice. Once immediately, once if the start is returned. 
> The first call is unexpected and should not happen?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message