You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (Updated) (JIRA)" <ji...@apache.org> on 2011/12/17 12:58:30 UTC

[jira] [Updated] (KARAF-1114) osgi shell blueprint bundle shouldn't use lazy default-activation

     [ https://issues.apache.org/jira/browse/KARAF-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang updated KARAF-1114:
--------------------------------

    Description: 
otherwise org.apache.karaf.shell.osgi.SpringStateListenerFactory  won't get initialized until 
we use osgi shell, this can cause any other bundle which use spring-dm "Spring" status missing, as SpringApplicationListener(it's not initialized until we use osgi shell) can't receive spring-dm event when any other spring bundle refreshed.
We do need org.apache.karaf.shell.osgi.SpringStateListenerFactory is initialized at very first stage,so lazy mode
isn't correct for osgi shell bundle.


  was:
otherwise org.apache.karaf.shell.osgi.SpringStateListenerFactory  won't get initialized until 
we use osgi shell, this can cause bundle Spring status miss, as SpringApplicationListener can't receive spring-dm event when spring bundle refreshed


    
> osgi shell blueprint bundle shouldn't use lazy default-activation
> -----------------------------------------------------------------
>
>                 Key: KARAF-1114
>                 URL: https://issues.apache.org/jira/browse/KARAF-1114
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.2.5, 3.0.0
>
>
> otherwise org.apache.karaf.shell.osgi.SpringStateListenerFactory  won't get initialized until 
> we use osgi shell, this can cause any other bundle which use spring-dm "Spring" status missing, as SpringApplicationListener(it's not initialized until we use osgi shell) can't receive spring-dm event when any other spring bundle refreshed.
> We do need org.apache.karaf.shell.osgi.SpringStateListenerFactory is initialized at very first stage,so lazy mode
> isn't correct for osgi shell bundle.

--
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