karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-96) Enhance the features to support the start level
Date Fri, 09 Jul 2010 05:18:53 GMT

    [ https://issues.apache.org/jira/browse/KARAF-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886622#action_12886622
] 

Charles Moulliard commented on KARAF-96:
----------------------------------------

it seems that the problem comes from this :

StartLevel sl = (StartLevel) bundleContext.getService(
                		bundleContext.getServiceReference(org.osgi.service.startlevel.StartLevel.class.getName()));
                sl.setInitialBundleStartLevel(ibsl);

bundleContext object is set for the FeatureServiceImpl (and is globall for all the bundles
linked)

If I change the code like that 

StartLevel sl = (StartLevel) b.getBundleContext.getService(
                		b.getBundleContext.getServiceReference(org.osgi.service.startlevel.StartLevel.class.getName()));
                sl.setInitialBundleStartLevel(ibsl);

only the first bundle of the list of features is installed.

> Enhance the features to support the start level
> -----------------------------------------------
>
>                 Key: KARAF-96
>                 URL: https://issues.apache.org/jira/browse/KARAF-96
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Charles Moulliard
>            Assignee: Charles Moulliard
>             Fix For: 2.0.0
>
>
> Enhance the features to support the start level

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


Mime
View raw message