You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Göktürk Gezer (JIRA)" <ji...@apache.org> on 2012/05/10 02:56:49 UTC

[jira] [Created] (FELIX-3501) IPojo FactoryStateListener doesn't get notified while stopping factory

Göktürk Gezer created FELIX-3501:
------------------------------------

             Summary: IPojo FactoryStateListener doesn't get notified while stopping factory
                 Key: FELIX-3501
                 URL: https://issues.apache.org/jira/browse/FELIX-3501
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: iPOJO-1.8.0
            Reporter: Göktürk Gezer
             Fix For: iPOJO-1.8.0


When stopping/uninstalling bundle of some IPojo component, FactoryStateListener references don't get notified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (FELIX-3501) IPojo FactoryStateListener doesn't get notified while stopping factory

Posted by "Göktürk Gezer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284494#comment-13284494 ] 

Göktürk Gezer commented on FELIX-3501:
--------------------------------------

It's fixed. 

Thanks.
                
> IPojo FactoryStateListener doesn't get notified while stopping factory
> ----------------------------------------------------------------------
>
>                 Key: FELIX-3501
>                 URL: https://issues.apache.org/jira/browse/FELIX-3501
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: Göktürk Gezer
>            Assignee: Clement Escoffier
>              Labels: ipojo
>             Fix For: ipojo-core-1.8.4
>
>
> When stopping/uninstalling bundle of some IPojo component, FactoryStateListener references don't get notified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (FELIX-3501) IPojo FactoryStateListener doesn't get notified while stopping factory

Posted by "Göktürk Gezer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272002#comment-13272002 ] 

Göktürk Gezer commented on FELIX-3501:
--------------------------------------

There is a little bug in IPojoFactory.stop() method,

        m_state = INVALID; // Set here to avoid to create instances during the stops.
        ............................
        ...........................
        if (m_state == VALID) {
            for (int i = 0; i < m_listeners.size(); i++) {
                ((FactoryStateListener) m_listeners.get(i)).stateChanged(this, INVALID);
            }
        }

m_state if changed to INVALID before the check for state notifications.
                
> IPojo FactoryStateListener doesn't get notified while stopping factory
> ----------------------------------------------------------------------
>
>                 Key: FELIX-3501
>                 URL: https://issues.apache.org/jira/browse/FELIX-3501
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: Göktürk Gezer
>              Labels: ipojo
>             Fix For: iPOJO-1.8.0
>
>
> When stopping/uninstalling bundle of some IPojo component, FactoryStateListener references don't get notified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (FELIX-3501) IPojo FactoryStateListener doesn't get notified while stopping factory

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier reassigned FELIX-3501:
----------------------------------------

    Assignee: Clement Escoffier
    
> IPojo FactoryStateListener doesn't get notified while stopping factory
> ----------------------------------------------------------------------
>
>                 Key: FELIX-3501
>                 URL: https://issues.apache.org/jira/browse/FELIX-3501
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: Göktürk Gezer
>            Assignee: Clement Escoffier
>              Labels: ipojo
>             Fix For: iPOJO-1.8.0
>
>
> When stopping/uninstalling bundle of some IPojo component, FactoryStateListener references don't get notified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (FELIX-3501) IPojo FactoryStateListener doesn't get notified while stopping factory

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier resolved FELIX-3501.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: iPOJO-1.8.0)
                   ipojo-core-1.8.4

Was fixed in trunk. Waiting for confirmation.
                
> IPojo FactoryStateListener doesn't get notified while stopping factory
> ----------------------------------------------------------------------
>
>                 Key: FELIX-3501
>                 URL: https://issues.apache.org/jira/browse/FELIX-3501
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: Göktürk Gezer
>            Assignee: Clement Escoffier
>              Labels: ipojo
>             Fix For: ipojo-core-1.8.4
>
>
> When stopping/uninstalling bundle of some IPojo component, FactoryStateListener references don't get notified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira