This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201796 - Allow OSGi bundles to specify their start level
Summary: Allow OSGi bundles to specify their start level
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 7.1
Hardware: Other Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2011-09-08 08:28 UTC by Jaroslav Tulach
Modified: 2011-11-03 15:33 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
startlevel and FRAMEWORK_START_LEVEL APIs (37.52 KB, patch)
2011-09-08 08:28 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2011-09-08 08:28:58 UTC
Created attachment 110520 [details]
startlevel and FRAMEWORK_START_LEVEL APIs

Standard OSGi way to control enablement of bundles is to assign them different startlevel. So far the Netigso system has cared about the startlevels at all, but it is time to change that.

As a result some OSGi bundles may be registered as enabled="true" and yet their BundleActivator.start() may not be called on start.
Comment 1 Jesse Glick 2011-09-08 18:16:36 UTC
Need #NOI18N before nonlocalizable keys.
Comment 2 Jaroslav Tulach 2011-09-14 07:04:21 UTC
I'll use NOI18N and integrate tomorrow.
Comment 3 Jaroslav Tulach 2011-09-15 06:02:15 UTC
ergonomics#c6e6d03ae352
Comment 4 Quality Engineering 2011-09-17 14:12:14 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/c6e6d03ae352
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #201796: config/Modules/*.xml files may contain specification of start level for OSGi bundles.
Comment 5 Quality Engineering 2011-11-03 15:33:47 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/33b558b21865
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: Addition to #201796: Allow the application to specify that bundles with high startlevel should not be 'started' at all