karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1114) osgi shell blueprint bundle shouldn't use lazy default-activation
Date Sat, 17 Dec 2011 11:58:30 GMT

     [ 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

        

Mime
View raw message