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

Summary: Allow OSGi bundles to specify their start level
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: NetigsoAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews, jglick, sserban
Priority: P1 Keywords: API_REVIEW_FAST
Version: 7.1   
Hardware: Other   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: startlevel and FRAMEWORK_START_LEVEL APIs

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